The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
Package contains a simple SMTP client with minimal dependencies which provides a portable solution for sending email, including file attachments and inline html reports, from within R. SMTP Authentication and SSL/STARTTLS is implemented using curl.
<- sprintf("<sendmailR@@\%s>", Sys.info()[4])
from <- "<olafm@@datensplitter.net>"
to <- "Hello from R"
subject <- list("It works!", mime_part(iris))
body sendmail(from, to, subject, body,
control=list(smtpServer="ASPMX.L.GOOGLE.COM"))
# With authentication and SSL
sendmail(from="from@example.org",
to=c("to1@example.org","to2@example.org"),
subject="SMTP auth test",
msg=mime_part("This message was send using sendmailR and curl."),
engine = "curl",
engineopts = list(username = "foo", password = "bar"),
control=list(smtpServer="smtp://smtp.gmail.com:587", verbose = TRUE)
)
To install the bleeding edge version from GitHub using devtools
:
library("devtools")
install_github("olafmersmann/sendmailR")
Or using pak
:
library("pak")
pkg_install("olafmersmann/sendmailR")
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.