In short
When emails go to spam, the cause is usually one of four things: a missing SPF, DKIM, or DMARC record; poor reputation or a blocklisting of the sending IP; content that triggers spam filters; or sudden, uncontrolled sending volume. Get a score out of 10 with mail-tester.com to find the weak spot, fix authentication first, then check your IP, content, and volume.
In this guide
- Diagnose First: Get a Score Out of 10 with mail-tester
- Is It Landing in Spam, or Not Arriving at All?
- Cause 1: Missing or Broken SPF, DKIM, or DMARC
- Cause 2: IP Address Reputation and Blocklists
- Cause 3: Content and Formatting
- Cause 4: Sending Volume and Recipient Behavior
- Step-by-Step Fix Checklist
- Next Step: Build Deliverability from the Infrastructure Up
If the quote, invoice, or password reset email you send to a customer ends up in their "Junk" folder, there is almost always a measurable reason. The emails going to spam problem comes from four main sources: missing authentication, IP reputation, content, and sending volume. In this guide you'll first diagnose the problem with a test score, then fix each source in turn.
Diagnose First: Get a Score Out of 10 with mail-tester
Measure instead of guessing. The most practical method is:
- Open mail-tester.com; you'll get a single-use test address.
- From the account that has the problem, send a real email of the kind you normally send (same signature, same type of content) to that address. A blank email that just says "test" won't give meaningful results.
- Go to the "Then check your score" step on the page and review the report.
The report breaks out your SpamAssassin score, SPF/DKIM/DMARC results, the blocklist status of the sending IP, broken links, and HTML structure. As a rule of thumb, 9 out of 10 or higher is considered healthy; every line that lowers your score tells you what to fix.
Your second diagnostic source is the message headers on the recipient's side. In Gmail, open the message and click "Show original"; in Outlook, check the "Internet headers" field in the message properties. The Authentication-Results line sums it all up:
Authentication-Results: mx.google.com;
dkim=pass header.i=@alanadiniz.com;
spf=pass smtp.mailfrom=alanadiniz.com;
dmarc=pass (p=NONE) header.from=alanadiniz.com
If you see fail, softfail, none, or permerror here, you've found the first source of the problem.
Is It Landing in Spam, or Not Arriving at All?
Before jumping to a fix, name the symptom correctly, because three different situations point to three different problems:
- The email is in the recipient's Spam/Junk folder: The email was delivered, but the filter didn't trust it. The problem is authentication, reputation, or content. This guide is written for exactly this case.
- You get a bounce message back: The receiving server rejected the email. The code starting with
550or554and the explanation in the bounce tell you why, such as a blocklist, a DMARC rejection, or an invalid address. - Neither in spam nor bounced: The email may never have left your server. Check your outbox, your mail client's SMTP settings (port 465 SSL or 587 STARTTLS, authentication enabled), and whether you've hit your plan's hourly sending limit.
If the problem only happens with one recipient company, that company's own spam firewall may be blocking you; in that case, the fastest fix is to ask the recipient's IT team to add your domain to their allowlist.
Cause 1: Missing or Broken SPF, DKIM, or DMARC
Major mailbox providers no longer trust unauthenticated email. The most common mistakes are:
- There is no SPF record at all, or the server you send from isn't listed in it.
- There are two separate SPF records; in that case both are treated as invalid.
- There is no DKIM signature, or the public key in DNS got corrupted when it was copied.
- There is no DMARC record; Gmail and Yahoo now require one, especially for bulk senders.
- Your website form uses the visitor's address as the
From:address; this inevitably breaks SPF and DMARC alignment.
To set up the records from scratch with the correct syntax, follow our guide to creating SPF, DKIM, and DMARC records. For website forms, use authenticated SMTP instead of PHP mail(), put an address on your own domain in the From: field, and put the visitor's address in the Reply-To: field.
Cause 2: IP Address Reputation and Blocklists
Receiving servers look at the history of the IP address that sends the email. If spam has come from the same IP before, or the IP has landed on a blocklist (DNSBL), your email can be filtered even when your authentication is flawless.
- Blocklist check: The mail-tester report and tools like MXToolbox look up your IP on the common lists. If you're listed, first find and remove the cause (a compromised account, an open relay, a malicious script), then submit a delisting request. For the process, see our blacklist check and removal guide.
- PTR (reverse DNS) record: If you send from your own server, the IP's PTR record must resolve to the mail server's hostname, and that hostname must resolve back to the same IP. Many providers treat IPs without a PTR record as suspicious outright.
- Compromised accounts: A single mailbox with a weak password can send thousands of spam messages an hour and drag down the reputation of the whole domain. If you see messages you don't recognize in outboxes, change the passwords immediately.
On shared email infrastructure, IP reputation is managed by the provider. When you want full control with your own IP address, a mail server running on your own IP makes sense; but in that case, protecting the reputation is also your responsibility.
Cause 3: Content and Formatting
Filters such as SpamAssassin and Rspamd score content against dozens of rules. No single rule sends an email to spam, but once several small scores add up, the threshold is crossed. Typical content mistakes that cost you points:
| Problem | Why is it harmful? | Fix |
|---|---|---|
| An email made up of a single large image | A trick spammers use to hide text | Make the content text-first, with images in a supporting role |
| HTML only, no plain-text version | Legitimate mail clients usually generate both | Add a plain-text part with multipart/alternative |
| Link shorteners and links that don't match the visible text | A sign of phishing | Use full URLs on your own domain |
| ALL-CAPS subject lines, multiple exclamation marks, "free/win now" phrases | Classic spam rules | A plain, descriptive subject line |
| .exe, .js, macro-enabled Office files, or encrypted archive attachments | Malware risk | Share the file with a cloud link |
| Broken HTML, huge signature images | Formatting rules lower the score | Use a simple, lightweight signature |
Cause 4: Sending Volume and Recipient Behavior
Providers also track how recipients react to your email. Messages nobody opens, that are often marked as "spam," or that go to invalid addresses affect your entire domain.
- Sudden volume spikes: A domain that sends 20 emails a day suddenly sending 5,000 overnight looks suspicious. On a new IP or domain, increase volume gradually over several weeks (warm-up).
- Sending newsletters from a business mailbox: Email hosting plans have an hourly sending limit, and those limits are designed for one-to-one communication. Move bulk newsletters to a separate sending platform or a separate subdomain, so the reputation of your day-to-day correspondence stays protected.
- Old or purchased lists: Email sent to invalid addresses bounces and hits spam traps. Don't buy lists, and clean out bounced addresses regularly.
- No unsubscribe option: Marketing emails must have a visible unsubscribe link and a
List-Unsubscribeheader. Details are in our article on Gmail and Yahoo bulk sender requirements.
If you send a lot of email to Gmail, add your domain to Google Postmaster Tools; you can track your spam complaint rate and domain reputation there.
Step-by-Step Fix Checklist
- Record your baseline score with mail-tester.
- Confirm you have only one SPF record and that it covers all your sending sources.
- Enable DKIM signing and enter the public key correctly in DNS.
- Add a DMARC record with
p=noneand start monitoring the reports. - Look up your IP on blocklists; if it's your own server, check the PTR record.
- Strengthen the passwords on all mailboxes and review suspicious outgoing traffic.
- Simplify your content: a plain-text part, links on your own domain, no risky attachments.
- Separate bulk sending from your business mailboxes.
- Run mail-tester again and compare the change in your score.
You can also ask recipients to mark your email as "Not spam" and add your address to their contacts; over time, these signals improve your reputation.
Keep Monitoring After You Fix It
Once you've solved a spam problem, don't forget about it. Repeat the mail-tester test once a month, check your DMARC reports for sending sources you don't recognize, and whenever you bring a new service online (invoicing software, booking system, e-commerce plugin), set up its SPF and DKIM first. Set a simple rule for your team as well: every new system that will send email on behalf of your domain must pass an authentication test before it goes live. Most deliverability problems come from a single service added without this check.
Next Step: Build Deliverability from the Infrastructure Up
For everyday business correspondence, Sunucu Atlas business email hosting plans come with SPF and DKIM support, the SpamAssassin spam filter, and SSL-secured IMAP/SMTP; add a DMARC record and your authentication is complete. For high-volume or multi-domain setups, the mailcow mail server, which comes with its own IP address, the Rspamd filter, and ClamAV scanning, may be a better fit. If you're not sure which one suits you, open a support ticket describing your needs and we'll point you in the right direction.
Frequently asked questions
Why does my email go to spam in Gmail but not in Outlook?
Each provider's filter weighs different signals differently. Gmail puts particular emphasis on authentication and recipient engagement; check the Authentication-Results line in the headers to see which test failed.
What should my mail-tester score be?
9 out of 10 or higher is generally considered healthy. At lower scores, every line in the report that loses points shows a concrete problem you need to fix.
Why do my emails still go to spam when SPF and DKIM are correct?
Authentication is necessary but not sufficient on its own. IP reputation, blocklists, content, and recipient spam complaints also affect the score, so check those too.
Why do emails from my website's contact form go to spam?
Most forms use the visitor's address as the sender, which breaks SPF and DMARC alignment. Send the form through authenticated SMTP from an address on your own domain, and put the visitor's address in the Reply-To field.
How long does it take to fix emails going to spam?
DNS-related errors take effect as soon as the records propagate. Reputation-related problems improve gradually as long as you keep sending clean email, and no exact timeframe can be given.