sendEmailFUN: send email in R.

Description Usage Arguments Examples

View source: R/sendEmailFUN.R

Description

This function uses the 'mailR' package to send an email from R. I normally use this function at the end of some analysis, where the body is the end result.

Usage

1
2
sendEmailFUN(email.title, from, to, body, from.passwd,
  host.name = "smtp.gmail.com", host.port = 465)

Arguments

email.title

Email subject.

from

Email address being sent from. This will need to be configured to allow for emails to be sent from third parties.

to

Email adress to send to.

body

Body of email. Can be images.

from.passwd

The password to the 'from' email address.

host.name

The host of the 'from' email. The default here is for Google email address.

host.port

The host port. Default is 465.

Examples

1

gmiskell/generalRfunctions documentation built on May 17, 2019, 7:06 p.m.