- 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
- )
现在本人有个问题求教:
上边的主题和内容都是自己写上去的( subject = "test",body = "test for learing of mailR"),如果在R上进行的分析结果怎么直接发送?
请亲爱的坛友们不吝赐教,谢谢


雷达卡



京公网安备 11010802022788号







