envelope {emayili} | R Documentation |
Create a message.
Description
Create a message.
Usage
envelope(
to = NULL,
from = NULL,
cc = NULL,
bcc = NULL,
reply = NULL,
subject = NULL,
id = NULL,
importance = NULL,
priority = NULL,
text = NULL,
html = NULL,
encrypt = FALSE,
sign = FALSE,
public_key = FALSE
)
Arguments
to |
See |
from |
See |
cc |
See |
bcc |
See |
reply |
See |
subject |
See |
id |
See |
importance |
See |
priority |
See |
text |
See |
html |
See |
encrypt |
Whether to encrypt the message. If |
sign |
Whether to sign the message. If |
public_key |
Whether to attach a public key. If |
Value
A message object.
See Also
subject()
, from()
, to()
, cc()
, bcc()
, reply()
and
encrypt()
.
Examples
# Create an (empty) message object.
#
msg <- envelope()
# Create a complete message object, specifying all available fields.
#
envelope(
to = "bob@gmail.com",
from = "craig@gmail.com",
cc = "alex@gmail.com",
bcc = "shannon@gmail.com",
reply = "craig@yahoo.com",
importance = "high",
priority = "urgent",
subject = "Hiya!",
text = "Hi Bob, how are you?"
)
[Package emayili version 0.9.1 Index]