Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Below is the code that I am using:
- library(mailR)
- sender <- "<*********@gmail.com>"
- recipients <- c("**********@gmail.com")
- send.mail(from = sender,
- to = recipients,
- subject = "Test",
- body = "Test",
- smtp = list(host.name = "smtp.gmail.com", port=465 ,
- user.name = "**************@gmail.com",
- passwd = "*******", ssl = TRUE),
- authenticate = TRUE,
- send = TRUE)
- Th error is very large but by going through, it basically says that it is not able to make a connection to the smtp server. Kindly help me in this issue as I am stuck at it for a day.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement