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.



    1. Yes you need to fill both of api and domain name
    2. 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?

  • Admin

    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?)


  • Admin

    @SimonQ you can always send yourself a test email from the Settings -> Email interface



  • 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-bobo plugin. 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 nodebb-plugin-emailer-mailgun at Nodebb@1.0.0.

    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.4 with my own domain even.



  • @rod said:

    @qgp9 Strange. Strange. I could not get the mailgun plugin to work for me on v0.9.4 with my own domain even.

    I also checked it at my NodeBB@0.9.4 test bench in c9.io just before. It works.



  • @rod

    Also I checked a mailgun at my NodeBB@0.9.4 test bench in c9.io with a sandbox account.

    And It works.

    Here is a my configuration, it's obvious but if you are interested on 🙂

    mailgun configuration



  • @qgp9

    It works

    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.



  • @qgp9 I am using the same config as you and I'm on v0.9.4 of NodeBB. 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!


  • Plugin & Theme Dev

    @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.



  • @SimonQ said:

    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.



  • @anandkumar

    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.



  • @rod said:

    @anandkumar

    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.


Log in to reply
 


Star

Looks like your connection to NodeBB was lost, please wait while we try to reconnect.