December 8, 2022, 11:41pm
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.
App.YML File E-Mail Configuration:
Also, sending a test e-mail gives me this error message:
I am also getting the warning “
Outgoing email has been disabled for non-staff users.” when in the forum site.
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!
December 9, 2022, 12:53am
Is this a new site? Did anything change recently, such as migrating to a new server?
You might want to check your
disable emails setting (
December 9, 2022, 12:57am
First: does it work from the host?
telnet in-v3.mailjet.com 587
December 9, 2022, 2:06am
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.
Ok, that means we can rule out Discourse, which simplifies things.
Next check your firewall rules, including those that may exist in the DO (looks like your server is hosted at Digital Ocean) control panel.
Also contact DO and if they’re blocking outbound email on 587 from the server. Ask them to remove that block.
December 9, 2022, 2:34am
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.
December 9, 2022, 3:07am
December 10, 2022, 1:35pm
Yep, it was indeed a blocked port. I have resolved the issue now. Thanks!
January 9, 2023, 1:35pm
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.