Is this the only way of using gmail as outgoing if SMTP ports are being blocked by provider (Digital Ocean) -
https://docs.frappe.io/framework/user/en/guides/app-development/connected-app
is there any other non SMTP way of connecting gmail
the Digital Ocean is blocking all SMTP ports by default
thanks in advance
So, basically no ERPnext on Digital Ocean as they completely blocked the SMTP ports and not unblocking (see the ticket below)
Good day,
Thank you for contacting DigitalOcean Support. My name is ----, and I’ll be assisting you with your request.
I understand your concerns around the SMTP restriction placed on your account.
We understand that you have an application requirement or a business need to enable port 25, 465 and 587. However due to our current policy we are unable to facilitate requests to remove the restriction on this port. We recommend utilizing alternative ports if your application allows, such as port 2525.
You can also use REST API with SendGrid, which allows you to send emails via HTTP requests instead of the traditional SMTP protocol if it is suitable for you or make use of another third-party sending service.
I’m currently using Gmail on a Digital Ocean droplet, with no issues.
Given their policy, I’m not sure why this is actually working. But it is.
Hi @Dennisd ,
The only other VPS I’ve tried is SSDNodes, but never for anything serious. Reviews are a mixed bag: some people don’t like the performance, others seem okay with it. 
Were I in your shoes (and I guess I -will- be, the next time I create a droplet that needs SMTP!), I would use an SMTP relay:
- Keep running ERPNext on Digital Ocean.
- Email Domain points at relay server IP, using a TCP port that is not blocked by DO.
- Relay re-transmits my message to mail server using the -correct- port numbers.
2 Likes
I have used cloudfanatic.net for a few years without any complaints. They have decent support, excellent uptime & throughput, and are priced right.
I’ve had a VPS running FreePBX for several years without any downtime and no complaints of call quality, which says a lot for their network.
1 Like