My Droplet IP 64.227.174.118 can connect outbound to Gmail MX on port 25, but Gmail rejects mail with:
550 5.7.1 The IP you’re using to send mail is not authorized to send email directly to our servers.
Can DigitalOcean confirm whether this IP range is suitable for direct outbound SMTP, or recommend the approved SMTP relay path?
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!
Hey,
The SMTP ports (25, 465, and 587) are blocked on all Droplets for new accounts to prevent spam and other abuses:
You could reach out to the DigitalOcean support team and check if they could lift the block for you but in many cases this is not possible:
Another option here is to use a service like https://smtpfa.st/ or SendGrid or another SMTP service that use a non-standard SMTP port like 2525 for example. Also going for SMTP over API is a good option here.
Heya, @meetbhanushali
You can open a support ticket and request the SMTP restriction to be lifted on your Droplet and they’ll usually do it if your account has some history and you explain the use case.
Regards
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.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
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.