add_attachment | R Documentation |
add attachment to email to email base created earlier by email_base()
add_attachment(mail_base, att_content = NULL, att_type = "html", att_filename = NULL, tobase64 = TRUE)
mail_base |
base of email, created by email_base() |
att_content |
string, path and filename |
att_type |
string, type of content, default 'html' |
att_filename |
string, filename |
tobase64 |
logical. By default attachment files converted to base64 inside function. Set to FALSE otherwise |
my_mail <- email_base() add_attachment(my_mail, 'picture.png')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.