sendEmail | R Documentation |
This function can be used to send email from within R at Rapporteket. It relies on (and must hence be provided) specific settings through local configuration to work properly.
sendEmail(conf, to, subject, text, attFile = NULL)
conf |
List containing (Rapporteket) config such as sender email address, SMTP server url and port number |
to |
Character vector containing email addresses. May also contain
full names like ' |
subject |
Character string providing email subject. |
text |
Character string providing the plain email text |
attFile |
Character string providing the full file path to an attachment. Default is NULL in which case no attachment is made |
Invisible sending of email
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.