Why your form mail looks like spam to a machine
Spam filters stopped reading for “free offer” years ago; today the deciding questions are about identity. Google's sender guidelines, which Yahoo mirrors, spell them out: every sender must authenticate with SPF or DKIM, bulk senders need both plus DMARC, and the spam-complaint rate in Postmaster Tools must stay under 0.3%. A contact form notification fails these checks in four standard ways:
| Cause | Fix |
|---|---|
| The sending server is not authorised for your domain | SPF and DKIM records, step 1 |
| From is the visitor's address or your Gmail | From on your own domain, step 2 |
| No DMARC, or DMARC that does not align | One DMARC record, step 3 |
| The mail is fine and one filter disagrees | Train the mailbox, step 4 |
Step 1: authorise the server that actually sends
SPF and DKIM are DNS records on your domain that answer one question for the receiving server: is the machine that sent this message allowed to send mail for this domain? SPF lists the allowed servers; DKIM signs each message with a key the DNS record publishes. Google's guidelines make at least one of them a requirement for all senders, and both for anyone sending in volume.
The practical catch for contact forms is knowing which server sends. A WordPress site on shared hosting sends through the host's PHP mailer; a form backend or SMTP service sends through its own servers. The SPF and DKIM records must cover that sender. Your mail provider or SMTP service shows the exact records to add; after adding them, send a test to a Gmail address and use “Show original” in Gmail's message menu, which prints the SPF, DKIM and DMARC verdicts for that very message. That one screen replaces most guesswork.
Step 2: never put the visitor's address in From
The oldest form-mail habit is the most harmful one: sending the notification “from” whatever address the visitor typed, so you can hit Reply. When your server sends a message from customer@gmail.com, it claims to be Gmail, fails Gmail's authentication automatically, and gets filed or refused. The same applies to using your own Gmail or Yahoo address as the site's sender.
The pattern that survives: From is a fixed address on your own domain (forms@your-site.com), and the visitor's address goes in Reply-To. Replying works exactly as before, and the From domain is one you can authenticate. Every serious form plugin and backend has a Reply-To setting; if yours does not, that is the feature to look for.
Step 3: add one DMARC record, and only one
DMARC ties the other two records to the visible From address: it tells receivers what to do when a message fails, and its alignment check means the From domain must match the domain SPF or DKIM vouched for. Google requires DMARC for bulk senders and recommends it broadly; a policy of p=none satisfies the requirement while you watch the reports.
Two mistakes dominate here. The first is having no DMARC at all, which some providers now treat as a negative signal on its own. The second is having two: DNS tolerates multiple TXT records, but Google's docs are blunt that multiple DMARC records make validation fail, so a record added by an agency years ago plus the one you add today equals none. Check with any DMARC lookup tool before and after.
Step 4: when DNS is right and one mailbox still disagrees
Authentication earns delivery, not placement; a mailbox that marked your form mail as spam for months keeps doing it from habit. Open the spam folder, mark the notifications as Not spam, and, in Gmail, add the sending address to Contacts or create a filter with “Never send it to Spam”. On Google Workspace and Microsoft 365, check the admin quarantine too: messages held there never reach the user's spam folder, which is why “it's not even in spam” reports happen.
If placement degrades again later, look at volume and complaints rather than DNS: Google's threshold is a spam rate under 0.3%, and a form that forwards every submission to a shared inbox where colleagues hit “spam” on junk leads is quietly building that rate.
Or let the form's mail come from someone whose job that is
All four steps maintain one fact: the server sending your form mail must be authorised and well-behaved. A form backend moves that job off your site. Formgong sends notifications from its own authenticated domain, stores every submission in a dashboard inbox so a misfiled email is never the only copy, and delivers to Telegram instantly on every plan. Your form keeps its design; only the action changes. The free plan takes 1,000 submissions a month, and the not-sending-email guide covers the neighbouring failure, where the mail does not go out at all.
Inbox or spam now?
Did the authentication records move your form mail to the inbox, or does one provider still file it? Write to support@formgong.com and tell us what you tried. The cases readers send are how these guides get better.
Frequently asked questions
Why do my contact form emails go to spam?
Because the receiving server does not trust the sender: the sending server is not authorised in your domain's SPF or DKIM records, or the From address is on a domain (like gmail.com) your server cannot authenticate. Gmail's sender guidelines require authentication from all senders; fix the records and the From address, and the same messages arrive normally.
Should the From address be the visitor's email?
No. Sending from the visitor's address makes your server impersonate their mail provider and fail authentication automatically. Use a fixed From on your own domain and put the visitor's address in Reply-To, so replying still works.
How do I check SPF, DKIM and DMARC for one message?
Send a test submission to a Gmail address, open the message and choose Show original. Gmail prints the SPF, DKIM and DMARC verdicts for that exact message, which tells you which record is failing.
Do I need DMARC for contact form emails?
Google requires it for bulk senders and recommends it generally; some providers treat a missing DMARC as a negative signal. One record with p=none is a valid start. Make sure it is exactly one record: Google's docs state that multiple DMARC records make validation fail.
Sources and documentation
Official references for this guide: Google: Email sender guidelines, Shopify Help: Setting up your store email (domain authentication). HTML contact form, where data is stored.
Related guides
- Lovable form submissions to email and Telegram
- HTML contact form without a backend: a working example
- How to send website form submissions to Telegram
- Contact form not sending email? Check where it stops
- Managing website leads in Telegram without a CRM
- Form backend for Lovable, Bolt, v0, Cursor
- Telegram bot for a contact form: build or skip?
- GDPR form backend: 7 checks before you choose
- Lovable form not sending email? 6 fixes
- Netlify Forms not working? React and Bolt fixes
- Stop contact form spam without a CAPTCHA
- GitHub Pages contact form: a working setup
- Mailto Form in HTML: Why It Fails and What to Use
- HTML form to Google Sheets: 2 free methods
- Webflow form submission limit: what to do at 50
- Turnstile vs reCAPTCHA vs hCaptcha for forms
- Contact Form 7 and Elementor forms to Telegram
- Squarespace contact form not sending email?
- Shopify contact form: where do messages go?
- Google Form to Telegram: free Apps Script way
- Wix contact form not sending email? Fixes
- EU / GDPR Formspree alternatives compared
- HTML form action attribute explained
- How do HTML forms work? The HTTP request
- Types of Injection Attacks on Web Forms (2026)
- Indirect Prompt Injection in MCP
- MCP Rug Pull Attack: Detect Tool Changes
- Form without a backend: 7 ways that work
- Thank-you page after form submission (HTML)
- Indirect Prompt Injection Examples (2023–2026)
- Indirect Prompt Injection via Email
- What Is Tool Poisoning in MCP?
- WordPress contact form without a plugin
- Send email from frontend JavaScript
- How to Prevent Indirect Prompt Injection
- Honeypot Form Field: How to Add One That Works
- Contact Form with File Upload (HTML, No PHP)
- Angular contact form without a backend
- Send form submissions to Slack or Discord without Zapier
- Verify a form webhook signature (HMAC-SHA256)
- Contact forms that send nothing: 793 AI-built sites tested
- v0 contact form that actually sends: 3 ways
- How we tested AI-built contact forms, and 12 bugs we hit
- Cloudflare vs Netlify free plan: hosting that never pauses
- EmailJS 412 “Gmail_API: Invalid grant”: reconnect Gmail
- Resend “You can only send testing emails”: verify a domain
- Supabase Edge Function blocked by CORS policy: 3 causes
- Formspree “Form not found” and other errors: fixes
- Web3Forms errors: “Invalid access key” and 403 explained
- How to add customer reviews to your website for free
- Getform not working? “This form has been deleted” and more
- Next.js contact form not working? 6 errors, reproduced
- Webflow form not sending email? What to check, tested
- FormSubmit not working? “This form needs Activation” fix
- Contact form “TypeError: Failed to fetch”: causes and fixes
- WooCommerce product enquiry form
- Contact Form 7 vs WPForms
- Gravity Forms alternative free
- WordPress contact form block
- 535-5.7.8 Username and Password not accepted (Gmail)
- 535 5.7.3 Authentication unsuccessful: Office 365 SMTP
- Nodemailer “Missing credentials for "PLAIN"”: the fix
- Nodemailer “Greeting never received”: port 465 fix
- Nodemailer SSL “wrong version number”: the port fix
- Nodemailer “self-signed certificate in certificate chain”
- Nodemailer ECONNREFUSED 127.0.0.1:587: missing SMTP host
- SendGrid “authorization grant is invalid”: 401 fix
- Mailgun 401 Forbidden: why the API rejects your key
- “Edge Function returned a non-2xx status code”: the fix
- Next.js “Body exceeded 1 MB limit”: Server Action fix
- Unexpected token '<', "<!DOCTYPE "... is not valid JSON
- “TypeError: Body is unusable”: body has already been read
- Turnstile “timeout-or-duplicate” and other siteverify errors
- Turnstile vs hCaptcha vs reCAPTCHA: speed and size tested
- Judge.me reviews not showing on Shopify: how to fix it
- Judge.me review carousel not showing: how to fix it
- Yotpo reviews not showing on Shopify? Check the app embed
- Loox reviews not showing on product page: how to fix
- Shopify reviews not showing: what to check first
- How to show reviews on Shopify
- GDPR for website forms: what each type of form needs
- WooCommerce reviews not showing: how to fix it
- Stamped.io reviews not showing on Shopify: how to fix it
- Etsy reviews not showing: why and what to do
- Trustpilot widget not loading: how to fix TrustBox
- Yotpo problems in 2026: what merchants report
- Contact Form 7 “error trying to send your message” fix
- Elementor form “Your submission failed because of an error”
- Framer form not sending email or not working: what to check
- Carrd contact form not working: plans, spam and errors
- Google review link not working: what customers see and why
- tawk.to widget not showing on your website: causes and fixes
- How to add questions and answers to your product page
- “Failed to send a request to the Edge Function”: fixes
- Next.js “Failed to find Server Action”: what it means
- Brevo “unauthorized: Key not found” 401: the fix
- Amazon SES “Email address is not verified”: the fix
- Shopify contact form not working: how to fix it
- Judge.me alternative for WooCommerce after the 2025 shutdown
- Free WooCommerce review plugins compared on the free version
- WooCommerce review reminder emails without a paid plugin
- Add Voice Recording to a Website Form
- Contact Form 7 spam: how to stop it
- WPForms not sending email: how to fix it
- HTML form not submitting: how to fix it
- Contact form not working: how to find the fault
- Webflow form spam: how to stop it
- Website form to Notion: how to set it up
- Website form to WhatsApp: what works and what does not