View source: R/configure_email.R
configure_email | R Documentation |
Configure the email application to automatically send certificates.
configure_email(
user = NULL,
app.name = NULL,
subject = NULL,
body = NULL,
cc = NULL,
bcc = NULL
)
user |
Character. Gmail account that will be used to send certificates. |
app.name |
Name of the mail application used to send emails. To create one, access https://myaccount.google.com/apppasswords. |
subject |
Character. Subject of the email to be sent. If not specified, labeleR will use a default value. |
body |
Character. Body text of the email to be sent. If not specified, labeleR will use a default value. |
cc |
Character. String (or vector of strings) containing the email addresses to send the email as a copy. |
bcc |
Character. String (or vector of strings) containing the email addresses to send the email as a hidden copy. |
A list including at least a 'user' string' and an 'app.name' string. Optionally, slots 'subject', 'body', 'cc' and 'bcc' can be edited to compile the email to send.
Ignacio Ramos-Gutierrez, Julia G. de Aledo, Jimena Mateo-Martín, Francisco Rodriguez-Sanchez
## Not run:
email.info <- configure_email(user = 'example@gmail.com')
## If you already have created an application:
email.info <- configure_email(user = 'example@gmail.com', app.name = "emailsend")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.