cutoff: Set or query message expiry or reply-by time

cutoffR Documentation

Set or query message expiry or reply-by time

Description

Functions to specify the time at which a message expires or by which a reply is requested.

Usage

expires(msg, datetime = NULL, tz = "")

replyby(msg, datetime = NULL, tz = "")

Arguments

msg

A message object.

datetime

Date and time.

tz

A character string specifying the time zone.

Details

Manipulate the Expires and Reply-By fields as specified in RFC 2156.

Value

A message object.

Examples

envelope() %>%
  expires("2030-01-01 13:25:00", "UTC")
envelope() %>%
  replyby("2021-12-25 06:00:00", "GMT")

emayili documentation built on June 24, 2024, 5:12 p.m.