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

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.

Value

A message object.

Details

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

Examples

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