Advertisement
Guest User

Untitled

a guest
Mar 25th, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. Below is the code that I am using:
  2.  
  3. library(mailR)
  4. sender <- "<*********@gmail.com>"
  5. recipients <- c("**********@gmail.com")
  6. send.mail(from = sender,
  7. to = recipients,
  8. subject = "Test",
  9. body = "Test",
  10. smtp = list(host.name = "smtp.gmail.com", port=465 ,
  11. user.name = "**************@gmail.com",
  12. passwd = "*******", ssl = TRUE),
  13. authenticate = TRUE,
  14. send = TRUE)
  15.  
  16. 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