How to fix E-Mail problems in WordPress and WooCommerce

Use SendGrid

Are your WooCommerce customers having problems receiving their email? They may be not getting the emails at all. Or you may be getting the emails with a small delay. You can fix this problem by using an SMTP server for sending your emails instead. This can be done via a transactional email sending service like SendGrid, Mandrill or MailGun. Transactional API based services are generally better for large stores to ensure enhanced deliverability. Let’s get started:

  1. Create your SendGrid account. You can use SendGrid for free for up-to 12.000 emails per month. This will suit most eshops.
  2. After you have created and confirmed your SendGrid account, log in.
  3. Go to Settings > API Keys and press Create API Key > General API Key.
  4. Name your key and give tick the full access radio buttons everywhere.
  5. Copy your API key, we will need it later to make the connection with WordPress.
  6. Now, go to your WordPress backend and install and activate the Postman SMTP Mailer/Email Log plugin.
  7. Go to Settings > Postman SMTP.
  8. Press the Manually Configure link.
  9. In the Account tab, select the SendGrid API and paste the key from step 5.
  10. Press the Message tab and fill in the emal and name fields.
  11. Press Save Changes and you are go to go! From now on your WooCommerce and WordPress will use SendGrid to send emails, so sit back and enoy!

Correct your SPF record

Add the SendGrid include mechanism lookup into your existing SPF record.

For example, if your record looks like this:

v=spf1 a mx include:_spf.google.com include:spf.protection.outlook.com ~all

You would just need to add our lookup at the end of the string, before the ~all mechanism, like so:

v=spf1 a mx include:_spf.google.com include:spf.protection.outlook.com include:sendgrid.net ~all