Description Usage Arguments Value Examples
View source: R/utility_functions.R
Send email programmatically
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
from |
A valid email address of the sender. |
to |
A character vector of recipient valid email addresses.Default: Siemens DISW Business Analytics analytics_insights.sisw@siemens.com |
cc |
A character vector of recipient valid email addresses in cc. |
bcc |
A character vector of recipient valid email addresses in bcc. |
reply_to |
A valid email address for the reply. |
subject |
Subject of the email. |
body |
Body of the email as text. If the parameter body refers to an existing file location, the text of the file is parsed as body of the email. |
html |
A boolean value indicating whether the body of the email should be parsed as HTML. |
inline |
A boolean indicating whether images in the HTML file should be embedded inline. |
smtp_server |
A character string indicating the SMTP server address. |
port |
A numeric value indicating port. |
attachments |
A character vector of paths in the file system linking to files or valid URLs to be attached to the email. |
file_names |
An optional character vector of display names for the attached files. |
A logical value TRUE if the operation is successful.
1 | send_email(to = "receiver@gmail.com")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.