configure_email: Configure email sending
Description
Configure the email application to automatically send certificates.
Usage
configure_email(
user = NULL,
app.name = NULL,
subject = NULL,
body = NULL,
cc = NULL,
bcc = NULL
)
Value
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.
Arguments
- 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.
Author
Ignacio Ramos-Gutierrez, Julia G. de Aledo, Jimena Mateo-Martín, Francisco Rodriguez-Sanchez
Examples
Run this codeif (FALSE) {
email.info <- configure_email(user = '[email protected]')
## If you already have created an application:
email.info <- configure_email(user = '[email protected]', app.name = "emailsend")
}
Run the code above in your browser using DataLab