Sunday 15 September 2013

smtp - Gmail: 530 5.5.1 Authentication Required. Learn more at -


The program successfully sends an email from my home computer, but DigitalOcean receives the following error on the virtual server:

P>

  Terror: 530 5.5.1 Authentication Required. Learn more at:   

here:

  auth: = smtp.PlainAuth ("", "bjorkbjorksen@gmail.com", "password", "smtp .gmail.com ") msg: =" Topic: Hello \ r \ n \ r \ nWorld! " E = smtp.SendMail ("smtp.gmail.comiter87", auth, "bjorkbjorksen@gmail.com", [] string {email}, [] byte (msg)) if e! = Zero {Terror (E)}    

Security settings for your Gmail account and " Strong> less secure apps "have been enabled for me.

No comments:

Post a Comment