Skip to content

Instantly share code, notes, and snippets.

@Jianghao
Created November 26, 2014 13:15
Show Gist options
  • Save Jianghao/af937ab9d9c6de2c9717 to your computer and use it in GitHub Desktop.
Save Jianghao/af937ab9d9c6de2c9717 to your computer and use it in GitHub Desktop.
send email with R
# install.package("mailR")
library(mailR)
send.mail(from = "email address",
to = "email address",
subject = paste0(),
body = "",
smtp = list(host.name = "smtp.qq.com", port = 465,
user.name = "hellowangjh@qq.com", passwd = "passwd", ssl = TRUE),
authenticate = TRUE,
send = TRUE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment