A Simple Solution for WordPress Not Sending Email

Frustrated by WordPress Not Sending Email?

We’ve all been in that position at some point in time. Your form submission notifications aren’t hitting your inbox. The client you worked hard to build the perfect site for is receiving incomplete email receipts. Some of your guests are getting email confirmations, others aren’t. It’s frustrating, it’s embarrassing, and troubleshooting the nuances of WordPress not sending email can take ages.

Troubleshooting WordPress email doesn’t have to be hard.

Reaching a point where you can quickly solve most email issues isn’t as time consuming or difficult as you think it might be. We help users solve email problems literally every day, and getting to a place where solving these issues becomes trivial is mostly just about knowing the right tools for the job.

Once you know the tools to use and how to use them, you can tackle almost any email problem in WordPress without breaking a sweat. If you want to improve email reliability and save time when email issues arise, read on.

Make Email Easy!

By default in WordPress, your host is responsible for sending your email. Your host wears many hats though, and sending email is only a small part of what they handle in the big picture. If you’ve ever contacted your host about email issues, you probably understand the frustration this less focused role can cause.

Transactional email services specialize in sending email, and replace the role of the host in the lifecycle of an email. Turning over the responsibility of sending and delivering email to a transactional email service can relieve a lot of the potential pains of sending through your host. Many of email’s most frustrating problems like delivery failures and incomplete emails can be solved simply by using a dedicated email service.

The service we use and recommend is Mailgun, and they offer a WordPress plugin to make integration super easy. Let’s walk through how to set up Mailgun.

Setting up Mailgun

1) Install the “Mailgun for WordPress” plugin from the WordPress Plugin Repository.

2) Create a free account on Mailgun.com

3) After signing up, you’ll be guided through Mailgun’s account setup process. Complete that process with them, and once it’s set up I’ll show you where to grab the relevant info that needs to be put into the Mailgun plugin settings. Be sure to check your email to verify your account via the confirmation mail they will send at this point.

4) Now, in your WordPress dashboard, navigate to Settings>Mailgun. You’re looking for two fields in the settings: Mailgun Domain Name and API Key.

sending ninja forms email with mailgun, mailgun settings, domain name and API key input settings fields

Next hop back over to your actual Mailgun account. Click onto the Domains tab, then click the little gear icon you see in the menu:

ninja forms email with mailgun, mailgun domain settings page

After clicking the gear, select the Domain Settings option from the popup/dropdown menu that displays. That takes you to this page:

ninja forms email with mailgun, mailgun domain name and api key information

There you’ll find the Mailgun Domain Name and API Key that we need to enter into Settings>Mailgun as mentioned above.

5) Make any other adjustments that you want to make here, though you’ve completed the only two inputs that you needed to make here for the plugin to take over email duties. Finally, scroll to the bottom of the page and click the Test Configuration button. You’ll receive an email saying you’re good to go, and… you’re good to go!

Save Time Troubleshooting

Hunting and pecking for why your email fails to deliver is infuriating. Without the right troubleshooting tool, we’re playing a process of elimination game that can drag on for ages. It doesn’t have to be that way.

Again, troubleshooting WordPress email doesn’t have to be hard. It doesn’t have to be time consuming, either. What if you had a tool that could show you just where the failure occurred? Tools like this exist, we use them everyday to help our users, and they will save you tons of valuable time.

While there are a variety of mail loggers out there, have a look at WP Mail Logging. Right from your WordPress dashboard you’ll be able to see a complete list of sent mail and error status logs when problems happen. This allows you to focus your troubleshooting to where the breakdown occurs: the plugin handling the data, or WordPress as it receives that data and passes it to your host (or better yet, Mailgun).

You Can Take the Pain Out of Email

We work with email issues daily, and sometimes we run into that one weird issue that really does hurt to work through. They’re certainly become the outliers, though. Hundreds of thousands of emails begin with Ninja Forms everyday without issue, and we want yours to be in that company as well!

A combination of a great transactional email service and mail logger can be your path to breezing through almost any email gremlin you encounter. You’re of course always welcome to drop a line into our support channel. We’d love to lend a hand. Questions or comments? Let us know below!