Please if someone can help me out.
I have a web app working fine on xamp using PHPMailer.
It logs in on gmail and send the mail without any problem.
But when I try the same code on Digital Ocean the smtp fails to logi...
Hi there @zeppy,
I could suggest a few things:
Make sure that you are using TLS with port 587
Make sure that your password is correct
And finally enable applications to access your Gmail account:
I have configured sendmail using a procedure described in below : Configure Sendmail to Relay Emails through Gmail SMTP.
It works but it takes a looo...