Learn R Programming

emayili (version 0.4.4)

to: Add To field to message

Description

Add To field to message

Usage

to(msg, ...)

Arguments

msg

A message object.

...

Email addresses.

Value

A message object.

See Also

subject, from, cc, bcc and reply

Examples

Run this code
# NOT RUN {
msg <- envelope()
to(msg, "bob@gmail.com", "alice@yahoo.com")
to(msg, c("bob@gmail.com", "alice@yahoo.com"))
# }

Run the code above in your browser using DataLab