Report this

What is the reason for this report?

"cannot connect to smtp.gmail.com, port 587: Connection timed out"

Posted on July 25, 2017

Hi,

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 from=aleem.firnas22@gmail.com recipients=aleem.firnas22@gmail.com errormsg=‘cannot connect to smtp.gmail.com, port 587: Connection timed out’ exitcode=EX_TEMPFAIL

Please help me :(

Thanks.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.