2018-10-24
閱讀量:
882
R怎么發(fā)送數(shù)據(jù)分析結果
最近在學習怎么使用R語言發(fā)送郵件,跟大家分享一波~~~
http://blog.csdn.net/small_farmer/article/details/52713795
library(mailR)
sender <- "***@126.com"
recipients <- c("***@qq.com",
? ?? ?? ?? ?? ? "***@qq.com",
? ?? ?? ?? ?? ? "***@126.com",
? ?? ?? ?? ?? ? "***@qq.com")
test <- send.mail(
??from = sender,
??to = recipients,
??subject = "test",
??body = "test for learing of mailR",
??smtp = list(
? ? host.name = "smtp.126.com",
? ? port = 25,
? ? user.name = "***@126.com",
? ? passwd = "***",
? ? ssl = TRUE
??),
??authenticate = TRUE,
??send = TRUE
)






評論(0)


暫無數(shù)據(jù)
推薦帖子
0條評論
0條評論
0條評論