Learn R Programming

emayili (version 0.4.4)

envelope: Create a message.

Description

Create a message.

Usage

envelope(
  to = NULL,
  from = NULL,
  cc = NULL,
  bcc = NULL,
  reply = NULL,
  subject = NULL,
  text = NULL,
  html = NULL
)

Arguments

to

See to()

from

See from()

cc

See cc()

bcc

See bcc()

reply

See reply()

subject

See subject()

text

See text()

html

See html()

Value

A message object.

See Also

subject, from, to, cc, bcc and reply

Examples

Run this code
# NOT RUN {
# Create an (empty) message object.
msg <- envelope()

# Create a complete message object.
envelope(
  to = "bob@gmail.com",
  from = "craig@gmail.com",
  cc = "alex@gmail.com",
  bcc = "shannon@gmail.com",
  reply = "craig@yahoo.com",
  subject = "Hiya!",
  text = "Hi Bob, how are you?"
)
# }

Run the code above in your browser using DataLab