Find where the problem starts
Send a test email to your own address using the form or script that showed the problem. Check the inbox, spam folder and other available categories. If the message is missing, review the website and email service logs. Confirm that the form submitted the request, that the service accepted it, and whether an error or bounce was recorded. Even if the recipient server accepted the message, you still need to check where it landed.
Note the sending time, sender and recipient addresses, message ID, and sending service. If you share logs with someone troubleshooting the problem, remove personal data, tokens and message content that they do not need. Compare the same sending path because your website, CRM and campaign platform may use different services.
What do SPF, DKIM and DMARC check?
SPF lets the receiver check whether a sending server is authorised for the domain in the SMTP envelope sender address. That domain may differ from the visible From address.
DKIM adds a digital signature to the email. The recipient verifies it using the public key in the signing domain's DNS. The d= and s= values in the DKIM-Signature header tell the recipient where to look for the key.
DMARC checks alignment with the domain in the visible From field. To pass DMARC, at least one of SPF and DKIM must pass, and the domain from that check must align with the From domain. Domain owners can publish a policy for messages that fail DMARC. Receiving providers take that policy into account alongside their own rules.
Step 1. Check authentication results in a received email
On a computer, open the test email in Gmail. Click the three-dot menu next to Reply and select Show original. The label depends on your interface language. Gmail displays the original message and authentication results. If you use another email service, check its help for instructions on viewing full headers.
Look for spf, dkim and dmarc in the Authentication-Results header added by your receiving email service. A message may contain several headers with that name, and their trustworthiness depends on who added them. Find pass, fail, none or temperror and the domains next to them. Interpret each value in context. For example, none does not confirm forgery, and a temporary error can occur even when the configuration is correct.
Compare the domain after @ in the visible From address with the SPF domain and the d= domain from a passing DKIM signature. If SPF or DKIM passes but DMARC fails, the domains may fail to align. Read the full authentication results and check the sending service's configuration before drawing a conclusion. Forwarding or modifying an email in transit may also change the results.
Step 2. Inspect DNS records without changing them
List every system that sends mail from your domain: business email, website, CRM and campaign platform. Ask the DNS administrator and each provider to confirm the domains and required records. Use the values for your own configuration.
On Windows, use PowerShell to look up TXT records. Replace example.com with your own domain. These commands query DNS without changing your settings.
Resolve-DnsName example.com -Type TXT
Resolve-DnsName _dmarc.example.com -Type TXTLook for a record starting with v=spf1 for SPF and v=DMARC1 for DMARC. If you get an empty response or an error, check the domain name and try again later. A single resolver's result does not establish that the record is missing everywhere.
For DKIM, find s= and d= in the signature. Query the TXT record for <selector>._domainkey.<signing-domain>, substituting the selector and signing domain. Some providers use CNAME. Follow their instructions and verify the resulting record. A record can exist even if the key does not match the signature or the message changed in transit.
Update the existing SPF record in coordination with your senders. Publishing multiple SPF records for one domain causes an authentication error. Save the current values before making changes and send a new test message afterwards. A stricter DMARC policy can disrupt legitimate senders if their traffic is not accounted for.
Step 3. Use the symptom to choose the next check
| Symptom | What to check | Possible explanation |
|---|---|---|
| No copy of the message arrived | Website and sending service logs, delivery errors | The message was never sent, was rejected or was delayed. Use the logs to find the cause. |
spf=fail | Sending service, authenticated domain, SPF and message route | Unrecognised sending source or message forwarding |
dkim=fail | Signing domain and selector, public key and changes to the message | Key unavailable or signature verification failed |
| SPF or DKIM passed, but DMARC did not | SPF, DKIM and From domains and their alignment | A check passed for a domain that does not align with the From domain |
| Authentication passed, but the message landed in spam | Sender reputation, complaints, content and recipient rules | Authentication passed, but the filter evaluated other signals |
Use the table to choose what to check next, then review the evidence for the affected message. For example, a spam filter may consider content alongside other signals.
Step 4. Check delivery after the fix
Send a new email using the same form or script. Open its headers and compare them with the original. If the issue affects several recipients, test with mailboxes at different providers you can access. One test mailbox cannot show where the same email lands for every recipient.
If authentication passes and the problem persists, look at domain and IP reputation, sending errors, complaints and the receiving provider's guidance. Google Postmaster Tools is available for Gmail subject to its service terms. If there is little data, gather the sending time, message ID, redacted headers and details of the sending service before contacting its support team.
Short checklist
- Identify the sending system and reproduce the issue using your own mailbox.
- Check the folders, sending logs and error notifications.
- Find the SPF, DKIM and DMARC results and their domains in the headers of the received message.
- Check DNS records with the domain owner and email provider.
- Agree on the changes for all senders and repeat the test.
- If authentication passes, check sender reputation and other filtering signals.