Discourse SMTP ontvangt geen e-mails?

AI-generated summary

In a thread titled ‘Discourse SMTP not receiving mails?’, user ViruzDevil reports failing to receive test emails despite successful sending, after two days of troubleshooting. They share screenshots of their SMTP configuration in app.yml and mention using their own mail server (mailhostbox) tied to their domain, not Mailgun. pfaffman suggests checking the Troubleshooting email on a new Discourse install guide and notes a common mismatch between configured domain and sender address. itsbhanusharma suspects disabled STARTTLS on port 587. After enabling STARTTLS, ViruzDevil encounters a new error. itsbhanusharma recommends running ./discourse-doctor to test connectivity and suggests temporarily removing SMTP authentication. Following this, ViruzDevil confirms success — the test email now arrives in Gmail, thanking the community. They note being unable to attach a screenshot due to new user restrictions. The issue was resolved via diagnostic tooling and configuration adjustments, highlighting the importance of server reachability and proper TLS/auth settings.

Hello folks 2 days of trying and configuring mail on my forum always failed :pensive:

so i come here, my problem is my test mail is sent but not receiving how to fix?


waited 8 hours did not received mail :frowning:

help me guys…

Thread Update


My SMTP configuration app.yml

Please document which things in Troubleshooting email on a new Discourse install you have done.

The most common problem is that you have configured mailgun for tecridible.com and your forum is sending as noreply@discourse.tecridible.com. You can edit the commented-out line at the end of your app.yml and change it, or re-configure mailgun.

Another suspect could be the disabled start tls. 587 needs start tls if I’m not mistaken.

hello @pfaffman thanks for your replay i did not use mailgun i am using mailhostbox

Edit: own mail server provided by domain

@itsbhanusharma thanks for your replay i changed to true now iam facing this error :frowning:

@pfaffman You can edit the commented-out line at the end of your app.yml and change it

already changed brother DeepinScreenshot_select-area_20200826222509

Try checking if your mail server can actually be reached from your Discourse server. Easiest way to do that would be to run ./discourse-doctor

NB: what happens if you remove the smtp authentication string from the configuration and rebuild?

hey @itsbhanusharma i run ./discourse-doctor

and successfully got the test mail :heart_eyes:

thank you now i got the test mail in gmail also :heart_eyes:

sorry i can’t attach the screenshot because New users can’t embed any way thanks