I know there are a few topics about Discourse email configuration, but I couldn’t find a solution to my problem in any of those (to the troubleshooting guide as well). For email provider, I use a Mailgun free account (I want to build a community of about 10-15 people so there is no need for more than 10,000 emails per month). Everything in my Discourse installation works perfectly, except for the emails. Here is where I’ve been so far:
I received successfully the confirmation email for the admin account! Isn’t it strange?
When I try to send manually an email using my Mailgun SMTP credentials, it is sent successfully (by using this method with my SMTP credentials). This means that my Mailgun account, dns servers, etc are configured correctly, isn’t it?
Exactly the same credentials as used in the successfull manually sent email, are entered in the app.yml file.
But still, when I send a private message or I reply to a thread that is watched by someone, no emails are sent to his inbox.
Any ideas?
Thank you in advance!
Edit: Problem solved! I had to enter my credit card details to my Mailgun account.
Mails are skipped if the user has been online in the previous minutes because it is likely he saw the notification on the site, and a mail notification would only be an annoying duplicate. Every user can configure this in his own preferences, and you can change the default for new users with the site setting default email always
Thanks for your reply. I think mailgun is sending emails properly. If I go to email settings and send a test email to a certain address, the email is delivered properly. Thus, I think that Mailgun has no problems.
Yup. With less than 20 users you will definitely be under 5000 emails per month so no worries. Also I think there is a setting in mailgun to be alerted when you’ve sent X emails per month.