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. Click create a single sender and fill all fields (email, address, etc.)
  4. Verify your email.
  5. Go to Settings > API Keys and press Create API Key.
  6. Name your key and give tick the Full Access radio buttons everywhere.
  7. Copy your API key, we will need it later to make the connection with WordPress.
  8. Now, go to your WordPress backend and install and activate the Post SMTP Mailer/Email Log plugin.
  9. Go to Settings > Post SMTP.
  10. Click Show All Settings.
  11. In Type select SendGrid API.
  12. Paste the key from step 5.
  13. Press the Message tab and fill in the email and name fields.
  14. 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 ~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 ~all