attachments | R Documentation |
attachments
attachments(sg_mail, path, name, content_id)
sg_mail |
(required)mail object from package |
path |
(required)file path to attach |
name |
file name. default is path's file name |
content_id |
content id. default is Null. |
sg_mail class with attachments.
path <- system.file("extdata", "test.Rmd", package = "sendgridr") mail() %>% attachments(path)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.