address {sendgridr} | R Documentation |
set address to sg_mail class
Description
to(), cc(), bcc() is for set email address to sg_mail class
Usage
to(sg_mail, email, name = "")
cc(sg_mail, email, name = "")
bcc(sg_mail, email, name = "")
Arguments
sg_mail |
(required)mail object from package |
email |
(required)email address |
name |
(optional)name for email address. |
Value
sg_mail class with mail address.
Examples
mail() %>%
to("mrchypark@gmail.com")
mail() %>%
cc("mrchypark@gmail.com")
mail() %>%
bcc("mrchypark@gmail.com")
[Package sendgridr version 0.6.1 Index]