mutt: Mutt E-mail Client

Description Usage Arguments Examples

Description

Interface to the Mutt E-mail Client

Usage

1
  mutt(to=c(), subject=NULL, body=NULL, body.file=NULL, body.html=FALSE, cc=NULL, bcc=NULL, from=NULL, attachments=NULL)

Arguments

to

vector of recipient addresses

subject

email subject

body

email content, as character vector

body.file

email content, path to file

body.html

should we set a header to treat content as HTML?

cc

vector of carbon copy recipient addresses

bcc

vector of blind carbon copy recipient addresses

from

address of sender

attachments

vector of files to attach

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
  ## Not run: 
    if (exists("my.email")) {
      mutt(my.email, "testing", "vanilla email")
      mutt(my.email, "testing", "<p>html email</p>", body.html=TRUE)
      mutt(my.email, "testing", "from testing", from="testing")
      mutt(cc=my.email, subject="testing", body="carbon copy")
      mutt(bcc=my.email, subject="testing", body="blind carbon copy")
    }
  
## End(Not run)

johnlaing/mutt documentation built on May 19, 2019, 5:15 p.m.