Send emails
1 2 3 |
from |
A valid email address of the sender. |
to |
A character vector of recipient valid email addresses. |
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. |
encoding |
Character encoding to use for the email. Supported encodings include iso-8859-1 (default), utf-8, us-ascii, and koi8-r. |
host.name |
the smtp server |
port |
smtp port; defaults to 465 |
user.name |
usually same as the email address |
passwd |
password of the email |
ssl |
Whether use ssl or not; defaults to true |
authenticate |
A boolean variable to indicate whether authorization is required to connect to the SMTP server. If set to true, see details on parameters required in smtp parameter. |
attach.files |
A character vector of paths in the file system linking to files or *valid* URLs to be attached to the email (see details for more info on attaching URLs) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.