sendEmail: Send email from Rapporteket

View source: R/sendEmail.R

sendEmailR Documentation

Send email from Rapporteket

Description

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.

Usage

sendEmail(conf, to, subject, text, attFile = NULL)

Arguments

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 'Jane Doe <janed@nowhere.com>'

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

Value

Invisible sending of email


Rapporteket/rapbase documentation built on Nov. 22, 2023, 9:21 p.m.