Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Email sending domain doesn't match From address: how to fix it

OPS-048Medium impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

Every email has two sender identities. The From address is what people see. The sending domain is the domain that really delivered it, shown in the hidden Return-Path (envelope sender) and in the DKIM signature d= value.

When these belong to different domains, the email is not aligned. For example, the From says info@yourbrand.com, but the message is sent by your web host's server and signed by hostingprovider.net. DMARC, the policy that checks alignment, can then fail even if SPF and DKIM pass on their own.

Why it costs you leads or sales

Misaligned mail is treated as suspicious. Gmail, Yahoo and Microsoft may place it in spam, show a warning, or reject it outright if your domain has a strict DMARC policy. Gmail and Yahoo also expect bulk senders to authenticate and align mail.

Where a mismatched email gets lost
  1. Visitor submits formForm shows a thank-you message
  2. Email sentFrom: yourbrand.com, signed by another domain
  3. Alignment checkSPF/DKIM domain differs from From domain
  4. Inbox deliverySpam folder or rejected
  5. Sales follow-upLead never seen

The form works, but the notification fails the alignment check.

Form notifications reaching the inboxExample numbers
Form notifications reaching the inbox (example)Mismatched domain: 55 %; Aligned domain: 97 %037745597Mismatched domainAligned domain%

Example: illustrative numbers showing how many of 100 notifications reach the inbox before and after alignment is fixed.

How to check if your site has it

Check alignment on a real email
  1. Send a test email from your form

    Submit your real contact form with a Gmail address you control, and let the notification arrive (check spam too).

  2. Open the original message

    In Gmail, open the email, click the three dots, then Show original. You will see SPF, DKIM and DMARC results.

  3. Compare the domains

    Look at the From domain, the smtp.mailfrom (SPF) domain and the header.i or d= (DKIM) domain. For DMARC to pass, at least one of SPF or DKIM must pass and share your From domain.

  4. Look for warning signs

    Phrases like 'via sendgrid.net', 'sent on behalf of', or DMARC 'FAIL' mean the sender is not aligned.

What to read in the Show original results
ResultGoodProblem
SPFPASS, domain is yoursPASS but domain is the host or a tool
DKIMPASS, d= is yoursd= is another domain, or none
DMARCPASSFAIL or no policy found

How to fix it

The goal: send through a service that lets you authenticate your own domain, then use a From address on that domain. The exact screens depend on your mailer.

Fix by platform
  1. Stop using the default PHP mailer

    Install an SMTP or email-API plugin (for example WP Mail SMTP or FluentSMTP) and connect a real sending service.

  2. Authenticate your domain at the service

    In the service (Postmark, SendGrid, Amazon SES, Google Workspace, etc.) add your domain and publish the DNS records it gives you.

  3. Set the From address

    In the plugin settings, use an address on your domain. In your form plugin's notification settings, set From to that same address and put the visitor's email in Reply-To, not From.

Example DNS records (your values come from your sending service)text
yourbrand.com.   TXT   "v=spf1 include:_spf.your-sending-service.com ~all"
selector._domainkey.yourbrand.com.   CNAME   selector.dkim.your-sending-service.com.
_dmarc.yourbrand.com.   TXT   "v=DMARC1; p=none; rua=mailto:dmarc@yourbrand.com"

How to confirm it's fixed

Re-test
  1. Wait for DNS

    New records can take from minutes to a few hours to be visible.

  2. Verify in the sending service

    The domain should show as verified or authenticated.

  3. Send a fresh test

    Submit the form again and open Show original. SPF or DKIM should pass with your domain, and DMARC should say PASS.

  4. Test other inboxes

    Try Outlook and Yahoo addresses too, and check the message is in the inbox.

How to prevent it happening again

Prevention checklist
  • Authenticate your domain every time you add a tool that sends email.
  • Keep From on your own domain and use Reply-To for visitors.
  • Keep a list of every service that sends mail for your domain and merge them into one SPF record.
  • Publish a DMARC record with reporting (rua) and review reports before tightening the policy.
  • Re-test form notifications after changing plugins, themes, hosts or CRMs.

How FunnelGuard handles this

FunnelGuard detects this only partly. When it runs your journey and submits a test lead, it performs an email content sender check on the notification that arrives: it looks at the sender of the test email. It does not run a full DNS authentication audit.

Questions people ask

Why are my contact form emails going to spam?

A common reason is a mismatch between the From address domain and the domain that actually sends and signs the email. If SPF or DKIM do not align with your From domain, DMARC can fail and mailbox providers may spam-folder the message. Authenticate your domain with your sending service and use a From address on it.

What does 'sent via' or 'on behalf of' mean in an email?

It means the message was delivered by a different domain than the one in the From address. Some email clients show this as a hint that the email may not be fully authenticated for the From domain. Verifying your domain with the sending service usually removes it.

What is DMARC alignment?

DMARC alignment means the domain in the visible From address matches the domain that passed SPF or DKIM. DMARC passes when at least one of them passes and aligns. Passing SPF or DKIM for another domain is not enough.

Can I use the visitor's email as the From address in a form notification?

It is best not to. The visitor's domain is not one you can authenticate, so the message fails alignment and is likely to be filtered. Send from your own domain and put the visitor's address in Reply-To so you can still reply directly.

How do I check if my sending domain matches my From address?

Send a test email to Gmail, open it, choose Show original and compare the From domain with the SPF and DKIM domains. Look for DMARC: PASS. If the DKIM d= value or the SPF domain belongs to someone else, you have a mismatch.

Will fixing this affect my DMARC policy?

Authenticating each sender makes it safe to tighten DMARC later. Start with p=none and reporting, find every service that sends as your domain, fix their alignment, and only then move to quarantine or reject.

Does FunnelGuard check my SPF, DKIM and DMARC records?

Not fully. FunnelGuard checks the sender in the test email it receives from a submitted test lead, and alerts if the lead does not arrive in the inbox or CRM. You still need to check your DNS records and DMARC reports yourself.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: email_content sender check.

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.