Set up SPF so emails don't go to spam

Add include:mail.gw01.zoeysite.com to your domain's SPF record so Zoey emails reach the inbox, and fix senders marked Not Valid.

Zoey sends your store's emails from your own email address, so your domain's SPF record must allow Zoey to send for it. Without that, order, quote and invoice emails can go to spam or fail to arrive. Add include:mail.gw01.zoeysite.com to your domain's SPF record.

Use it to:

  • Check whether your domain has an SPF record.
  • Update an existing SPF record, or add one, so Zoey can send for your domain.
  • Find which sender addresses Zoey can't send from, and fix them.

Check your SPF record

  1. Open the MxToolbox SPF lookup (opens another site).
  2. Enter your domain.

You'll see either a green bar with your full SPF record, or a red "X" and the message "No SPF Record found".

Update your existing SPF record

If your DNS already has an SPF record (usually a TXT record that starts with v=spf1), add include:mail.gw01.zoeysite.com to it:

TypeNameData (update)TTL
TXT@Add include:mail.gw01.zoeysite.com to the existing record600 Seconds

Example: if you use Office 365, the updated record may look like v=spf1 include:spf.protection.outlook.com include:mail.gw01.zoeysite.com -all.

Add an SPF record if you don't have one

If your DNS has no SPF record, add one. It must include every service that sends email for your domain, which at a minimum means your email service (Gmail / Google Workspace, Office 365 and so on). Check with each provider what to add for it.

TypeNameDataTTL
TXT@v=spf1 [YOUR EMAIL SERVICE] include:mail.gw01.zoeysite.com -all600 Seconds

Common email service SPF values

ServiceSPF value
Office 365include:spf.protection.outlook.com
Googleinclude:_spf.google.com
Amazoninclude:amazonses.com
Mailchimpinclude:servers.mcsv.net
Mailguninclude:mailgun.org
Mandrillinclude:spf.mandrillapp.com
Postmarkinclude:spf.mtasv.net
Salesforceinclude:_spf.salesforce.com
Sendgridinclude:sendgrid.net
Zendeskinclude:mail.zendesk.com
Zohoinclude:zoho.eu

DMARC and DKIM

Zoey supports DKIM, which adds a signature to the emails Zoey sends from your domain, on top of SPF. To set it up, see Sign your emails with DKIM. DMARC passes when either SPF or DKIM passes for your domain, so with both in place your emails pass DMARC both ways.


Zoey Email Domain Checker

Zoey checks the Sender of each email template once a day to see whether its domain has an SPF record that allows Zoey to send from it. It reports any emails that would fail to send or end up in spam.

📘

A valid SPF record is required

The SPF (TXT) record for your email domain must have include:mail.gw01.zoeysite.com for Zoey to send email notifications from your address.

Email domain alert in the Zoey Admin with a View Error Details link

Click View Error Details to open the Email Domain Info panel, which lists the sender email domains that will fail to deliver.

Email Domain Info panel listing sender domains without a valid SPF record
Email Domain Info details for a gmail.com sender used on quote emails

Quote emails will fail to be delivered because the Sales Rep's email is @gmail.com, which does not allow Zoey to send on its behalf.

Fix the invalid emails error

When Zoey finds sender addresses it can't send from, the alert lists their domains. Click View Details on each to see which users or email templates use it. Then do one of these:

  • Fix the SPF record for that domain so Zoey can send email for it.
  • Change the Sender Email Addresses to an address whose domain has a valid SPF record.
📘

Sales reps as the sender

Emails like New Quote can list the Sales Rep as the Sender. This often causes the SPF error, because the rep's email address doesn't allow Zoey to send on its behalf. A sales rep whose address is on Google or another outside email provider can't be the sender.

Email template with the Sales Rep selected as the sender

Check sender email addresses

In the Zoey Admin, go to Settings > Emails. The Sender Email Addresses there send your store's email notifications to customers, and each shows whether Zoey can send from it.

Sender Email Addresses in Settings > Emails with a validity status for each address

If an address shows Not Valid, its domain has no SPF record that allows your store to send from it. Add Zoey to that domain's SPF record, or change the sender email address.

Related articles


Did this page help you?