Hi, i just checked that i’m not in any blacklist and also i my firewall is opened. My java application connects to Gmail SMTP to send e-mails, but once i moved my app to Digital Ocean, the same code i always used cannot connect to SMTP Gmail saying connect timeout.
Any clue on what’s is happening?
I thought i was missing the Reverse DNS of my droplet but i already corrected that without success.
Thanks for helping.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Hello! I have similar problem… GMAIl is not working in DO servers. But work in (same code) in the servers of other company. I suppose it is problem of DO server settings. Please can you help me. Gmail settings:
Host name: smtp.gmail.com
Port: 587
Timeout: 1000
User name: noreply.bridgepharm@gmail.com
Password: ••••••••••••••••
Protocol: SMTP Aut…: true Start TLS: true
Hello marciomalewschi
To curb a recent increase in abuse and SPAM, DO has an initial SMTP block on new accounts created in certain contexts. If you file a support ticket (https://cloud.digitalocean.com/support) the team should be able to lift that for you after some manual account verification.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

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