send_email
Arguments
- subject
character subject of the email
- body
html of message or a list containing sendmailR::mime_part objects.
- emails
email addresses (first will be sender)
- smtp
named list, should contain
hostname
and (optionally)port
, which defaults to 25. Additional elements will get merged with...
and passed to curl, see curl::curl_options for more details.- attachments
named vector, names are the attachment names, values are the filenames to attach.
- engine
One of:
"internal"
for the internal smtp transport (default)."curl"
for the use of curl for transport. Enable if you need STARTTLS/SSL and/or SMTP authentication. Seecurl::send_mail
."debug"
sendmail returns a RFC2822 formatted email message without sending it.
- ...
...