mailmail: Send a simple mail via mail - see <URL:...

View source: R/mail.R

mailmailR Documentation

Send a simple mail via mail - see http://linux.die.net/man/1/nail

Description

Send a simple mail via mail - see http://linux.die.net/man/1/nail

Usage

mailmail(to = "btupper@bigelow.org", sbj = "mailmail", msg = paste("at",
  Sys.time(), "you have mail mail"), attachment = NA, verbose = TRUE)

Arguments

to

a character vector of one or more valid email addresses

sbj

a character for the subject line (required)

msg

- a character vector of one or more lines for the message body (NA to skip)

attachment

the fully qualified filename to attach (if any, NA to skip)

verbose

logical, if TRUE then echo the command

Value

0 for success and non-zero otherwise

See Also

Other mail: charliemail, has_mail, has_mutt, has_nail, muttmail, nailmail, sendmail


BigelowLab/rscripting documentation built on Oct. 24, 2022, 5:31 p.m.