Mailgun Setup from Mandrill
I signed up for Mailgun now that Mandrill is out of the picture.
I am having some troubles configuring the settings however. I have pasted the API key that is provided but, I did not set up my own domain (it gives me the optional option). Do I need to fill in both the API and Domain Name fields inside the NodeBB Mailgun settings? I figured that the API key would automatically link to my forums in the NodeBB ACP is this how it works?
If not, Mailgun gave me a default domain name (something like
sandboxbe3b289fa5ac47328cb782919b581a11.mailgun.org) would I just paste that in there? I am not too sure how to switch over to Mailgun from Mandrill.
- Yes you need to fill both of api and domain name
- I think you can use sandbox domain for a Domain Name field, but i'm not sure about a limitation of sandbox domain by mailgun. so Why don't you try it just?
As far as I know, the sandbox domain just means your mail is sent out by the same machine as many others who have not gone through the trouble of setting up their own domain.
It does seem better to use your own domain, however
Hmm, I've tried using the sandbox domain and it does not seem to be sending any emails. I am simply validating an existing users email again (or is there a better way to generate an email?)
@SimonQ you can always send yourself a test email from the Settings -> Email interface
rod last edited by rod
Ok, so, this is the third time I've written this response. I deleted the other two before posting because it does not really address the problem you are having with the mailgun plugin but
I too had problems with the mailgun plugin.
I couldn't get it to behave just as it should. I uninstalled it and then installed the
nodebb-plugin-emailer-local-boboplugin. I have that plugin configured to use Mailgun but through the smtp configuration. It works just fine with the amount of email that my forum sends.
@rod Good tip, but I'm living with
So I'm the guy who can just say "It works". ( but of course with my own domain, not sandbox. I didn't try it ).
@qgp9 Strange. Strange. I could not get the mailgun plugin to work for me on
v0.9.4with my own domain even.
qgp9 last edited by qgp9
I am not sure why mailgun never originally worked but now it does. It could be possible that I did not have all of my domain things established properly while I was testing with the mailgun plugin but they are now so it works as it should
Thanks for making me take another look at this.
@julian sending a test email from Settings -> Email interface always returns "Test email sent" message no matter what. There is no way to tell if there is any issue except not receiving any email in your inbox.
qgp9 last edited by qgp9
The email is still not being sent through... Am I missing anything else? (I'm using the test email option that @julianlam suggested)
Edit: I received it after a few minutes of typing this!
- Edit : I missed second line begins with "Edit", congratulations
Have you checked email logs at mailgun site? That is the first thing you have to see.
I always keep it opened while email testing
Hey, there must be some benefit using own domain over sandbox domain. But mailgun sandbox just works fine. I have used it for a pretty long time. Indeed I still uses it on a few DigitalOcean servers.
Email sent from a sandbox domain shows "mailgun.us" as the sending domain, where as if you setup your particular domain it shows that as the mailing host.
You cannot utilize inbound mail to Mailgun with a sandbox domain
With a sandbox domain only 300 emails may be sent per day.
Yes, those are the limitations but if one have low activity forum then that might not be ones concern! You may start with sandbox account and setup custom domain when you start hitting limits or need other features.
Tough mailgun is a bit slow (often) in mail delivery and takes a few minutes compared to Mandrill and Amazon SES. But it worth trying.
@anandkumar I was just answering your question
Hey, there must be some benefit using own domain over sandbox domain.