nailmail: Send a simple mail via nail - see <URL:...

View source: R/mail.R

nailmailR Documentation

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

Description

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

Usage

nailmail(to = "btupper@bigelow.org", sbj = "nailmail", msg = paste("at",
  Sys.time(), "you have nail 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, mailmail, muttmail, sendmail


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