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.
- Visitor submits formForm shows a thank-you message
- Email sentFrom: yourbrand.com, signed by another domain
- Alignment checkSPF/DKIM domain differs from From domain
- Inbox deliverySpam folder or rejected
- Sales follow-upLead never seen
The form works, but the notification fails the alignment check.
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
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).
Open the original message
In Gmail, open the email, click the three dots, then Show original. You will see SPF, DKIM and DMARC results.
Compare the domains
Look at the From domain, the
smtp.mailfrom(SPF) domain and theheader.iord=(DKIM) domain. For DMARC to pass, at least one of SPF or DKIM must pass and share your From domain.Look for warning signs
Phrases like 'via sendgrid.net', 'sent on behalf of', or DMARC 'FAIL' mean the sender is not aligned.
| Result | Good | Problem |
|---|---|---|
| SPF | PASS, domain is yours | PASS but domain is the host or a tool |
| DKIM | PASS, d= is yours | d= is another domain, or none |
| DMARC | PASS | FAIL 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.
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.
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.
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.
Set the sender email
Go to Settings > Notifications and set Sender email to an address on your domain.
Authenticate the domain
Shopify shows a prompt to authenticate your domain. Add the DNS records it lists at your DNS host.
Check third-party apps
Apps that send email (reviews, back-in-stock, forms) have their own domain verification. Verify your domain in each.
Not applicable to GTM
GTM does not send email. Fix the mailer in your form tool, CMS or CRM instead.
Know what Webflow sends
Webflow form notifications are sent by Webflow. Set the recipient in Form settings, and use a Zapier/Make-style or CRM integration if you need mail sent from your own domain.
Authenticate in the connected tool
If a CRM or email tool sends the follow-up, verify your domain there and use a matching From address.
Add a dedicated sending domain
In Settings > Email Services, add a sending (sub)domain and publish the DNS records shown.
Match From email to it
Use a From email on that domain in your workflows and notifications, then confirm the domain shows as verified.
Connect your domain mailbox
If you use Google Workspace or Microsoft 365 with Wix, add the SPF and DKIM records your mail provider gives you in the domain's DNS settings.
Check sender details in Wix Automations
In email automations and Wix Forms notifications, use a sender address on your authenticated domain where the option is offered.
Use a domain you can authenticate
Form notifications are sent by Squarespace to your chosen recipient. For emails from your own domain, add the DNS records for your mail or email-campaign provider.
Match the From address
Use the same domain in any email campaign From address as the one you authenticated.
Send through an authenticated service
Use SMTP or an API from a provider that supports domain authentication instead of the server's local mail.
Set From and Reply-To correctly
From must be on your authenticated domain. Put the visitor's address in Reply-To.
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
Wait for DNS
New records can take from minutes to a few hours to be visible.
Verify in the sending service
The domain should show as verified or authenticated.
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.
Test other inboxes
Try Outlook and Yahoo addresses too, and check the message is in the inbox.
How to prevent it happening again
- 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.
Related issues
- OPS-040Missing SPF recordFix guide
- OPS-041SPF too many lookups (>10) or multiple SPF recordsFix guide
- OPS-042DKIM missing or wrong for sending serviceFix guide
- OPS-043DMARC missing or p=none onlyFix guide
- OPS-044DMARC p=reject breaking form-notification mail from websiteFix guide
- OPS-039Missing or wrong MX records (inbound mail fails)Fix guide