Followers

Sunday, 15 October 2017

Unknown SMTP code error while sending email using R on Windows 7

Source: stackoverflow.com --- Saturday, October 14, 2017
While trying to send email, I found this error. library(sendmailR) from <- "myaddress@gmail.com" to <- "email2@gmail.com" subject <- "Performance Result" body <- "This is the result of the test:" mailControl=list(smtpServer="smtp.gmail.com") sendmail(from=from,to=to,subject=subject,msg=body,control=mailControl) Unknown SMTP code: 421 Error in if (code == lcode) { : argument is of length zero How to solve this ? What does 421 error means ? I also tried with but got the same error. mailControl=list(smtpServer="ASPMX.L.GOOGLE.COM") ...



from Windows http://ift.tt/2xFPjYp

No comments:

Post a Comment