"cannot connect to smtp.gmail.com, port 587: Connection timed out"
I tried this tutorial in order to enabling the email sending facility to the website which is on Droplets.
This worked fine in localhost and email sent/received very quickeley but it doesn’t work in Droplet.:(
This is the error message (when- tail /var/log/msmtp.log)
Jul 25 06:39:08 host=smtp.gmail.com tls=on auth=on user=aleem.firnas22gmail.com firstname.lastname@example.org email@example.com errormsg=‘cannot connect to smtp.gmail.com, port 587: Connection timed out’ exitcode=EX_TEMPFAIL
Please help me :(
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.