make_mbox_reply: Create Mbox Reply String

View source: R/mail.R

make_mbox_replyR Documentation

Create Mbox Reply String

Description

Used to create a single e-mail reply string in .mbox format. See link{create_mbox_from_replies} to save it to disk.

Usage

make_mbox_reply(
  mailing_list,
  reply_from_author,
  reply_from_email,
  reply_to_author,
  reply_to_email,
  reply_cc_author,
  reply_cc_email,
  reply_datetime,
  timezone,
  reply_subject,
  reply_body
)

Arguments

mailing_list

specific mailing list associated with this mbox data

reply_from_author

name of sender (e.g. Firstname Lastname)

reply_from_email

email of sender. (e.g. sender@domain.com — will be formatted as <sender@domain.com>).

reply_to_author

name of recipient (e.g. First Name Lastname)

reply_to_email

email of recipient. (e.g. recipient@domain.com — will be formatted as <recipient@domain.com>).

reply_cc_author

name of one additional Cc'ed recipient (e.g. Firstname Lastname)

reply_cc_email

email of one additional Cc'ed recipient (e.g. recipient2@domain.com — will be formatted as <recipient2@domain.com>).

reply_datetime

Date and time in the following format: 2023-02-11T09:30:00 (Be sure to add the capital T to separate date and time).

timezone

The abbreviation of desired timezone (e.g: HST). For more information on date and timezone refer to POSIX doc. Enter: '?POSIXct' in console

reply_subject

Subject of the email as a string

reply_body

Body of the email as a string

Value

the content of the fake mbox you created returned as a string in mbox format

References

For details, see https://en.wikipedia.org/wiki/Email#Header_fields.


sailuh/kaiaulu documentation built on Dec. 10, 2024, 3:14 a.m.