{emayili} UTF-8 Filenames & Setting Sender

Two new features in the {emayili}
(0.4.6) package for easily sending emails from R.
Package Setup
If you have not already installed the package, then grab it from CRAN or GitHub.
# From CRAN.
install.packages("emayili")
# From GitHub.
remotes::install_github("datawookie/emayili")
Load the package.
library(emayili)
Check that you have the current version.
packageVersion("emayili")
[1] ‘0.4.6’
Let’s quickly set up an SMTP server. We’ll use SMTP Bucket, which is incredibly convenient for testing.
SMTP_SERVER = "mail.smtpbucket.com"
SMTP_PORT = 8025
smtp <- server(host = SMTP_SERVER, port = SMTP_PORT)
UTF-8 Characters in Attachment Filenames
It’s now possible to attach files with names that include non-ASCII characters. Suppose I wanted to send this image (source) of Wenceslao Moreno.
Read More →