The user KhoiUSA reported that MailJet SMTP was not working on their Discourse forum, with errors indicating a timeout connecting to in-v3.mailjet.com:587. They were also seeing a warning that outgoing emails were disabled for non-staff users. maiki suggested checking the disable emails setting, which KhoiUSA confirmed resolved the issue. However, further testing showed the server couldn’t connect to MailJet via telnet, indicating a network-level problem. supermathie and pfaffman pointed to firewall or port blocking, with KhoiUSA confirming that port 587 was blocked by their cloud provider (Digital Ocean), which they resolved by contacting support. The issue was ultimately due to a blocked port, not configuration errors.
Hello, my forum uses MailJet as the SMTP server for my Discourse Forum. However, it seems as if the email system is not working. Below is an image of my email settings and the App.YML email configuration settings.
I’m stuck between if I have incorrect SMTP credentials or my server cannot contact the SMTP server, since it says “Timeout to open TCP connection to in-v3.mailjet.com:587 (exceeds 5 seconds)”
If anybody knows the reason or has a solution, please tell me. Thanks!
Thanks, that fixed the issue. Also, this is technically a new “site” since my forum shut down for a few months, then came back and I restored it via a backup.
I ran that command and this was the output:
Looks like it failed to connect.
Thanks, I’ve found out apparently Port 587 is blocked to prevent email spam. I’ve contacted the cloud provider for support. I will update you on this shortly.