A user, crazzybat, encountered an ‘ERROR - execution expired (email)’ while trying to send test emails via MailGun on DigitalOcean, which blocks standard SMTP ports (25, 465, 587) to prevent abuse. They sought guidance on resolving the issue, referencing a meta.discourse.org thread and DigitalOcean’s recommendation to use SendGrid. Jagster suggested trying port 2525. crazzybat asked for step-by-step instructions to change the port, as they had SSH access but limited knowledge. NateDhaliwal provided clear directions: edit the app.yml file using nano in /var/discourse, update the SMTP port to 2525, then run ./launcher destroy app followed by ./launcher start app to apply changes. crazzybat confirmed the fix worked and thanked NateDhaliwal, who replied graciously. The issue was resolved by switching to an allowed port (2525) and restarting the Discourse container.
‘ERROR - execution expired (email)’
I am using MailGun for SMTP emails. Port 587
First i don’t know how to fix, so can please help me with this?
Second I read this
and we hosting on digital ocean, in their official guide mentioned about SMTP ports 25, 465, and 587 are blocked on Droplets to prevent spam and other abuses of our platform. Source