I hava a fastapi application and i am sendingan otp when users are trying to register or ligin. Now smtp ports are blocked for my vps. Ca i open it?
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 š
Yep, default SMTP ports are blocked by default on new accounts to prevent abuse.
Your best bet is to either:
Reach out to DigitalOcean support and ask if they can review your account and unblock it (they donāt always do it, but worth a try),
Or use a service like SendGrid, Mailgun, or Postmark, much better for deliverability anyway. They allow SMTP over API, which is a good workaround and better for performance too.
Some SMTP providers also support alternative ports like 2525, so you might want to check if Gmail does (last I checked, it doesnāt, but maybe worth double-checking).
Let me know how it goes!
You can reach out to the support team and request to unblock the port. I will, however, recommend you to use an external SMTP provider such as SendGrid, Mailgun, or Postmark.
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.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.