Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Missing SPF record: how to find and fix it (lead emails)

OPS-040High impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

SPF (Sender Policy Framework) is a DNS TXT record. It lists the mail servers and services allowed to send email using your domain in the envelope sender (the technical return address). When a message arrives, the receiving server looks up your SPF record and compares it with the server that sent the message.

If no SPF record exists, the receiver gets no answer. The result is usually none, and the message loses a trust signal. Since 2024, large providers such as Google and Yahoo expect authentication for bulk senders, and a missing SPF record hurts all senders.

It affects more than newsletters. Your website contact form, order confirmations, CRM follow-ups, booking reminders and your team's own mailboxes can all send as your domain.

Why it costs you leads or sales

Lead notifications are the usual casualty. A form submits fine, the visitor sees the thank-you page, and the alert email to your sales inbox goes to spam or is rejected. Nobody follows up. The same applies to auto-replies sent to the lead: if they land in spam, the lead assumes you ignored them.

Where a missing SPF record breaks the lead path
  1. Visitor submits formForm works and thank-you page shows
  2. Site sends notificationMail sent as yourdomain.com
  3. Receiver checks SPFNo SPF record found
  4. Inbox deliverySpam folder or rejected
  5. Sales follow-upLead never contacted

The form works, but the email step fails, so the lead is never seen.

Notification emails reaching the inboxExample numbers
Notification emails reaching the inbox (example)SPF published: 98 %; No SPF record: 60 %038759860SPF publishedNo SPF record%

Example: illustrative numbers only, showing how delivery can drop when SPF is missing. Real results vary by provider and sender reputation.

How to check if your site has it

Check your SPF record
  1. Look up the TXT records

    Use a DNS lookup tool such as MXToolbox (SPF lookup) or Google Admin Toolbox Dig. Enter your root domain, for example yourdomain.com, and request TXT records.

  2. Find the v=spf1 line

    Look for a TXT value starting with v=spf1. If none is listed, the record is missing.

  3. Check from the command line

    Run dig TXT yourdomain.com +short (macOS/Linux) or nslookup -type=TXT yourdomain.com (Windows).

  4. Test a real message

    Send a form notification to a Gmail address, open the message, choose Show original and look for SPF: PASS. SPF: NONE or neutral means a gap.

  5. List every sender

    Write down each service that sends as your domain: mailbox provider, website or SMTP plugin, CRM, email marketing tool, helpdesk, booking and invoicing tools.

Check SPF from a terminalbash
dig TXT yourdomain.com +short | grep spf1

How to fix it

You add one TXT record at the root of the domain (host @). A domain must have only one SPF record. If you already have one, edit it instead of adding a second.

Common SPF include values. Always confirm the exact value in your provider's documentation.
SenderSPF include
Google Workspaceinclude:_spf.google.com
Microsoft 365include:spf.protection.outlook.com
Mailchimpinclude:servers.mcsv.net
SendGridinclude:sendgrid.net
Example SPF record (Google Workspace plus SendGrid)text
Type: TXT
Host: @
Value: v=spf1 include:_spf.google.com include:sendgrid.net ~all
Publish the record
  1. Open your DNS host

    Log in where your nameservers point. This may be your registrar, Cloudflare or your hosting provider, not necessarily where you bought the domain.

  2. Create or edit the TXT record

    Add a TXT record on the root (@) beginning with v=spf1, then one include per sender.

  3. End with the right qualifier

    Use ~all (soft fail) while you confirm all senders, then consider -all (hard fail) once you are sure.

  4. Keep it to 10 lookups

    SPF allows at most 10 DNS lookups. Each include counts. Remove senders you no longer use.

  5. Save and wait

    Changes usually appear within minutes to a few hours, depending on the TTL (cache time).

Where to add the record, by platform
  1. Add SPF at your DNS host

    WordPress itself does not hold DNS. Add the TXT record at your DNS provider or hosting control panel (for example the DNS Zone Editor in cPanel).

  2. Send through authenticated SMTP

    Default wp_mail uses the web server, which SPF may not include. Use an SMTP or email-service plugin and add that service's include to your SPF.

How to confirm it's fixed

Confirmation checks
  • A DNS lookup of your root domain shows exactly one TXT record starting with v=spf1
  • The SPF checker reports valid syntax and 10 or fewer lookups
  • A test form notification shows SPF: PASS in Show original on Gmail
  • Mail from your CRM, newsletter tool and mailbox also passes SPF
  • Test emails reach the inbox, not spam

How to prevent it happening again

Prevention habits
  • Keep a list of every service that sends mail as your domain and update SPF whenever you add or remove one
  • Set up DKIM and DMARC alongside SPF so mail passes even when forwarded
  • Re-check SPF after any DNS migration, nameserver change or new registrar
  • Send a real form submission to a Gmail test inbox monthly and read the authentication results
  • Use a free DMARC reporting service to see who sends as your domain

How FunnelGuard handles this

FunnelGuard does not check SPF records yet. It is a possible future check, so it will not tell you when an SPF record is missing or broken.

What it does cover nearby: a robot visitor runs your real lead form on a schedule and checks whether the test lead reaches your inbox and CRM. If notification mail is going missing, that journey check can show it. A failure is re-checked from a second region before one alert goes out with a screenshot and a likely cause. It will not tell you SPF is the reason.

To watch SPF directly, use an SPF or DNS lookup tool on a monthly schedule, a DMARC reporting service, or a DNS monitoring tool that tracks TXT record changes. FunnelGuard has a Free plan (1 site, 2 journeys, daily checks, no card) and a free read-only website audit.

Questions people ask

Why are my website form emails going to spam?

A common cause is missing email authentication. If your domain has no SPF record, and often no DKIM or DMARC, providers cannot verify the sender and may junk the message. Check your domain's TXT records and the authentication results in a test email.

How do I check if I have an SPF record?

Run a TXT lookup on your root domain with a tool like MXToolbox or the command dig TXT yourdomain.com +short. Look for a value beginning with v=spf1. If none appears, the record is missing.

How do I add an SPF record?

Log in to your DNS host and add a TXT record on the root (@) with a value like v=spf1 include:_spf.google.com ~all, using the includes your email services require. Save it and test again after the TTL passes.

Can I have more than one SPF record?

No. A domain must have a single SPF record. Two v=spf1 records cause a permanent error and SPF fails. Merge all senders into one record.

What is the difference between ~all and -all in SPF?

~all is a soft fail: mail from unlisted servers is accepted but marked suspicious. -all is a hard fail: it asks receivers to reject it. Start with ~all while checking all senders, then move to -all if you are confident.

Is SPF enough to stop emails going to spam?

No. SPF is one signal. You also need DKIM signing and a DMARC policy, plus a good sending reputation and sensible content. SPF alone does not guarantee inbox delivery.

Does FunnelGuard check for a missing SPF record?

Not yet. It is a possible future check. FunnelGuard can run your lead form on a schedule and check whether test leads arrive in your inbox and CRM, which can reveal mail delivery problems, but it does not identify SPF as the cause.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: site safety (Stage 26, daily): no SPF; email_dns per run.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.