Generic selectors
Exact matches only
Search in title
Search in content

How to Fix WordPress Not Sending Email Issue ctm magazine

Sending WordPress emails should normally be easy but at times can be difficult. Lucily there are services like MailGun to help ensure your emails get to their destination. In this video, we will show you how to fix WordPress not sending email issue.

Text version of this tutorial:


If you liked this video, then please Like and consider subscribing to our channel for more WordPress videos.

Check us out on Facebook:

Follow us on Twitter:

Join our circle on Google+:

Checkout our website for more WordPress Tutorials

Summary of this tutorial:

Start by going to MailGun and sign up for an account.


Scroll down and a domain to your MailGun account.

On your hosting provider you would want to log in and edit your subdomains.

Create the subdomain and add it to mailgun. To verify, go back to your hosting account and edit the DNS for your domain.

Add txt records using the advanced zone editor and copy the value into the txt data.

Edit your MX directory for your domain and you want to add the MX records MailGun has asked for.

Once finished, go to your site, plugins, add new, and add the Mailgun for WordPress plugin.

Once activated, go to it’s settings to set it up how you would like.

Add your domain name for mailgun, grab your API key from your Mailgun account, and decide if you wanted to edit any of the other settings.



  • Dandelion WM on April 12, 2016

    I love that you've given a thorough walkthrough for a complicated set up. Thank you! I do wish you had said more about the situations that arise that signals the need to do this. Should I do it for any WP site that has a form? Is it only necessary with certain form builders? (I've been using Visual Form Builder Pro and Formidible.) What kind of problems will I experience that signals I should go through these steps? Thanks again!

  • Jaime Carrión on April 12, 2016

    Yesterday I tested everything I could possible image to get my emails notifications on time and in a reliable way. This worked immediately! Thank you! Thank you! Thank you!

  • Carmia Jordaan on April 14, 2016

    Thank you so much for making this video! I have a problem with Woocommerce emails not sending and have been using Mandrill for that. Now that Mandrill is forcing us to have a paid Mailchimp account I had to look for alternatives. Thank you for showing how to setup Mailgun – it's much appreciated!

  • George Meidhof on April 19, 2016

    Ok, somewhere I missed something. I installed mailgun and it was verified. Now I want to send all my users an email, and I don't see where you do that. What am I missing?

  • Andrew Voon on June 19, 2016

    Thank you very much. It works!

  • Terry Murphy on July 16, 2016

    Well I was also seduced into trying to follow your instructions, however, after configuring MailGun and having my domain mgr add the txt records, it worked for 24 hours, and then failed. Since then, neither Mailgun nor my host seem to be able to work out what is wrong, but they are both blaming each other. I think I will have to uninstall Mailgun…

  • girlzeyeview on August 9, 2016

    Totally worked! Thank you so much! This is something that has driven me nuts on many occasions. I used Contact Form 7 for my form. I was using another plugin at first and it wasn't working. But Contact Form 7 is super easy and sets up all the fields for you automatically.

  • BNECCCaptain on August 31, 2016

    Thanks so much for this help!!! saved me big time frustrations – is now working beautifully – thank you!!!

  • Acme Dream Company on September 1, 2016

    Once again – you guys saved my butt! I installed GMAIL SMTP server 8 days ago. Working perfect until this morning. I had been troubleshooting all day long. I would say after about 11 hours of terror, I did a simple Google search – brought me here. I watched the video, did the work…and come tomorrow I will not have egg on my face. I can't thank you enough. This is the 7th time you guys have helped me! What can I do? Can I guy you a pizza?

  • Shree Mahesh Heritage on September 24, 2016

    Namaste, Can someone help me for Contact form 7 Not sending meail and – Giving Red Alert – Failed to send your message. Please try later or contact the administrator by another method.

  • Saydu Naydan on October 24, 2016

    I have mailgun installed, test configurated successfully … but I still can't receive emails yet. I'm using Zerif lite template… Not sure what's wrong.. Any idea plz ?

  • Watford Local Business Directory on November 29, 2016

    Excellent tutorial. Many thanks.

  • Muhammad Ali on December 4, 2016

    When I click the forgotten password link it redirects me to the homepage. Any ideas how to fix this. Thanks and great video.

  • Marcel Hübert on December 18, 2016

    my hosting provider wont allow external smtp (a2 hosting) will this work?

  • Nasr97 on December 26, 2016

    Can I use a different email to register for maligun than the one I want for contact forms to reach me

  • Sezro on December 29, 2016

    This still doesn't work for me. Am I supposed to delete the old DNS settings? I see the original settings and the new ones I made for mail gun in my cPanel.

  • Nick P on December 29, 2016

    Warning: Setting the wrong option here can break receiving mail on your server. If you are at all unsure about which option to select, contact your system administrator.
    way this is showing?

  • DollarADayFitness.com on January 27, 2017

    thank you so so so much

  • Yarob Al-Taay on February 1, 2017

    Your key shows up at 5:36 ! I would disable this key if you have not done so already. Thanks for the video

  • BleepinJeep on February 13, 2017

    I did it and the emails came back! But now all the links in the emails start with emaildotmail1 and the links don't work, even when I try and modify them without that part. Please Help!

  • unTamed on February 15, 2017

    Hi! Option 4 does not show up for me on Mailgun, I can't see the "Add DNS Records for Recieving", only "For Sending". Please help!

  • Jeffrey Thomas on May 11, 2017

    Hi, I have a issue with not receiving contact from the forms on my website. I have a contact form and a free lesson form both use mailgun. WordPress says they are sending. The site developer used their API key and I have set up my own mailgun account. Do I just enter my API key?

  • Certified Yam Inspector-DaddySmokesYams on May 11, 2017

    Followed these instructions and still am not receiving emails. At this point I'm a little irritated simply because I'm not having the same complications using other forms. Catch 22 is WP Forms has the easiest and best set up imo. Question remains what's the point if they don't even work?????

  • Susan Maas on June 23, 2017

    Why are the MX records put under the root domain instead of under the subdomain? I have my professional email (me@mysite.com) set up through a third party service — Zoho — so I already have MX records for Zoho in my root domain. Can I still put the MX records for Mailgun in my root domain, or will this create a conflict? How should this be handled?

  • Lex Lush on July 11, 2017

    Hi! Thank you for this amazing video! I'm getting this error after following your instructions when I test the wordpress plugin settings (note that I have added my email address to authorized recipients as well):

    “Mailgun HTTP API Test Failure; status “Free accounts are for test purposes only. Please upgrade or add the address to authorized recipients in Account Settings.”

    Do you happen to know how to resolve this matter?

  • Manish Lohani on August 9, 2017

    Asking to add a CNAME in DNS, somebody help me!!!

  • Sarah on September 20, 2017

    When a user signs up to my website with a username etc.., they don't get an email to activate their profile. My wordpress website is using a dating software plugin, will this work for this issue?

  • Pim S. on October 2, 2017

    Thanks for this video as it's been something I needed to fix. Fingers crossed!

  • Ali Assad on October 2, 2017

    There is no ''MX Records'' on my cpanel. It is the pleask cpanel given by eukhosting. Please help!

  • Ali Assad on October 2, 2017

    Nevermind my previous comment, got the MX records added.. It still says unverified and in the plug in when I test configuration it states Failure…

    Any reason why? I followed the guide, is it because there is a 24 to 48hr wait time?

  • Jane on October 6, 2017

    Thank you!!

  • Scott Pearson on October 19, 2017

    Great tutorial. Works perfectly!

  • Mitch Billsen on October 24, 2017

    Thanks so much for this, I was able to set up my mail successfully. I had to dig around a bit on the godaddy cpanel to find the right settings, but it worked like a charm once I worked it out.

  • Daryl Malibiran on December 17, 2017

    This is not actually the main solution. It's the alternative.

  • Richard F on December 20, 2017

    A mailgun account is completely unnecessary. Geez!
    Just use one of the many free SMTP plugins for WordPress. Better, fast, free, less messy
    Don't shoot yourself in the foot with Mailgun!

  • Tolulope Dahunsi on February 22, 2018

    this is actually not the solution, simply use the free SMTP plugins in wordpress, copy your mail settings from your Cpanel and thats it. why pay MailGun when you can do it free from your cpanel.

  • Beyon Electrónicos on March 2, 2018

    I saw the MX records are optional, my account is already active but it can only send emails to 1 recipient… why? can you please help me out with this?

  • Benoit Labbé on June 18, 2018

    I am trying to use Event calendar, so that visitor can register for event and receiv Email confirmation, the emails are not being sent event though I have setup Mailgun. any idea please ?

  • Ģirts K on November 2, 2018

    For days try to configure like that..failed

  • Mehdi Mustfa on February 7, 2019

    I don't have the same host!
    What should i do ???

  • Alex Mwailu on June 10, 2019

    "The email could not be sent. Possible reason: your host may have disabled the mail() function." Someone help me solve this problem

Since 2009- Live News and Entertainment


🪙Premium Domains plus WordPress  🛡Open your own  Online Store 🏦 Open your own web hosting

Generic selectors
Exact matches only
Search in title
Search in content