response: Add In-Reply-To and References header fields

responseR Documentation

Add In-Reply-To and References header fields

Description

Add In-Reply-To and References header fields

Usage

inreplyto(msg, msgid, subject_prefix = "Re: ")

references(msg, msgid, subject_prefix = "Re: ")

Arguments

msg

A message object.

msgid

A message ID. This would be the contents of the Message-ID field from another message.

subject_prefix

Prefix to add to subject. If specified will be prepended onto the Subject field. Set to NULL if not required.

Value

A message object.

Examples

envelope() %>% inreplyto("<6163c08e.1c69fb81.65b78.183c@mx.google.com>")
# Now for German.
envelope() %>%
  inreplyto("6163c08e.1c69fb81.65b78.183c@mx.google.com", "AW: ")
# And also for Danish, Norwegian and Swedish (but not Finnish!).
envelope() %>%
  references("6163c08e.1c69fb81.65b78.183c@mx.google.com", "SV: ")
# Can reference multiple messages.
envelope() %>%
  references(c(
    "6163c08e.1c69fb81.65b78.183c@mx.google.com",
    "e8e338ff-a05c-4c0f-99f2-0dc8fb72682f@mail.gmail.com"
  ))

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