User elmurph encountered issues sending activation emails after installing Discourse and configuring Mailgun. Despite correct DNS settings, emails were not being delivered. pfaffman suggested that Mailgun now requires a credit card to deliver mail, a policy that reportedly changed for new accounts in January. tobiaseigen added that adding a credit card is necessary to access mail logs and that billing only begins after exceeding the 10,000 email free allocation. elmurph added their credit card, which resolved the delivery issue.
However, a new problem arose where activation links directed to an incorrect subdomain (email.rookiecave.com). pfaffman suggested rebuilding the app to refresh the DISCOURSE_HOSTNAME configuration, but elmurph ultimately resolved the issue by disabling the tracking hostname in their Mailgun settings. Finally, seeking to install an SSL certificate via Let’s Encrypt, elmurph asked which command rebuilds the containers. rikings clarified that the correct command is ./launcher rebuild app.
I think I have just reached my highest level of frustration with configuring mailgun . Please I need help.
This is my problem:
I installed discourse successfully after several failed attempt with configuring smtp credentials and the problem I seem to have is sending activation links to new registered users for activation of their account. I tested with my other gmail account and I did not get any email as regards link to activating my new account. I also tried inviting my friends as moderators but that too did not work!
I then checked my mailgun account to see my logs and I saw this:
Ahh. a very helpful, very timely tip actually. Thanks!
I don’t know what happened there for me but my mailgun account was indeed still sending out emails. I guess I am grandfathered in with an older account or something.
But without providing a credit card I didn’t have access to the mail log which is crucial for me.
What’s a bit weird about this arrangement is that it’s still free but if you send more thank 10k you start getting billed. So pretty important to also set up a custom message limit in your mailgun prefs.
Right. It’s always made sense to give them a credit card anyway, as they turn more stuff on if you do. IMHO, it’s sort of crazy that they every delivered mail for free without any proof of ability to pay. You can see their pricing page for more info.
It’s working now . But I have another issue now The link to activate the account does not go to the homepage of the forum. Instead it takes me to this link: http://email.rookiecave.com
It’s working now. I realized the problem was from my mailgun domain settings. My tracking hostname was ‘email’, it was coming as a prefix to the domain name. All I had to do was turn it off.