[R] sendmailR-package-valid code needed
Velappan Periasamy
veepsirtt at gmail.com
Mon Aug 23 16:55:29 CEST 2010
Hello Chris Campbell ,
I tried this for my email id it give me errors
> from <- sprintf("<sendmailR@%s>", Sys.info()[4])
> to <- "< veepsirtt at gmail.com>"
> subject <- "Hello from R"
> msg <- "It works!"
> sendmail(from, to, subject, msg,control=list(smtpServer="ASPMX.L.GOOGLE.COM"))
Error in waitFor(code) :
SMTP Error: 5.1.1 The email account that you tried to reach does not
exist. Please try
Calls: sendmail -> smtpSubmitMail -> sendCmd -> waitFor
my email id is correct
please help me
with regards
veepsirtt
More information about the R-help
mailing list