Email not working on my Discourse site

Hello,

two months ago emails completely stopped working on my Discourse site. No activation emails are being sent and no emails are being received by regular users with summary of new posts.

I would be willing to pay someone to fix it for me.

Thank you

Then you should post in Marketplace

But the first place to look is at your email service and see if your account is in good standing. Probably your credit card expired or something like that.

1 Like

Ok, I will post there.

My account is in good standing. However, I know nothing about IT so I don’t know what is wrong. The emails just stopped working one day.

I am using MailGun and all is paid.

do you have administrative access?

Find Admin in the left side bar (on mobile the hamburger)
scroll down under EMAIL tap Server setup & logs


tab thru Skipped, Bounced Rejected and there is an error message

When I try to test sending of e-mails, it shows this error:

“ ERROR - execution expired “

On MailGun, there is no sending key, maybe this could be the reason:

it timed out?

maybe key expired?
Try ‘Add sending key’
once it gives you a new key, you will probably need to add it to your site settings
maybe will work? Sorry no experience with mailgun

1 Like

I think that Mailgun needs to get somehow re-synced with Discourse but I don’t know how to do that so will need help from someone experienced.

2 Likes

The issue was that digital ocean has started blocking outgoing access to port 587,so I changed it to port 2525.

3 Likes

I also use Digital Ocean and Mailgun. How can I check whether this is or might become a problem for me? Thanks.

If your mail inexplicably stopped working, this is almost certainly the reason.

Edit your app.yml and change the smtp port to 2525. Then

./launcher destroy app ;./launcher start app

If you don’t know what that means, you can run discourse-setup, hit return a bunch of times and change the port and let it rebuild.

3 Likes