“Message rejected” means the receiving server read your email and refused it. Unlike an unknown address, the problem is the message, the sender or the sending setup. The text around the phrase says which filter you tripped.
550 5.7.1 This message is likely unsolicited email. To reduce the amount of spam sent to Gmail, this message has been blocked.
550 5.7.1 This message violates example.com email policy. - gcdp <sessionid> - gsmtp
550 5.7.26 Unauthenticated email from example.com is not accepted due to domain's DMARC policy.
MessageRejected: Email address is not verified. The following identities failed the check in region US-EAST-1: sam@example.com
What it means
Most rejections use the enhanced code 5.7.1, “delivery not authorized, message refused” in RFC 3463, which covers per-host and per-recipient filtering. Gmail marks rejections caused by a Google Workspace admin’s own rules with gcdp (Google Custom Domain Policies), according to Google’s error list. The last line is not an SMTP reply at all: it is the error Amazon SES’s API returns before the message is sent.
Why it happens
| Wording | Cause |
|---|---|
| likely unsolicited email, or other spam wording | Content, links or reputation scored as spam |
| very low reputation of the sending IP / domain | Gmail blocks based on your sending history |
| violates … email policy (gcdp) | A rule set by the recipient’s Workspace admin |
| due to domain’s DMARC policy | DMARC fail with p=reject |
| not RFC 5322 compliant | Missing or duplicate From, missing Message-ID, malformed headers |
| content presents a potential security issue | A blocked attachment type, such as an executable |
| Email address is not verified (SES) | Sending from an identity you have not verified |
How to fix it
- Read the whole reply. Paste it into the bounce code lookup.
- Spam or reputation: authenticate with SPF, DKIM and DMARC (setup guide), send only to people who asked, remove bounced addresses, and drop link shorteners. Reputation recovers with clean sending over weeks. See why emails go to spam.
- gcdp policy: only the recipient’s admin can change it. Contact the recipient another way.
- DMARC: make DKIM sign with your From domain or use an aligned Return-Path. See DMARC fail.
- RFC 5322 problems: make sure every message has one From header with one valid address and a Message-ID. Use a mail library rather than building headers by hand.
- Attachments: send files as links instead of
.exe,.jsor similar types. - SES unverified: verify the sender identity in the same AWS Region your code sends from (verification is per Region, as AWS’s knowledge center notes), and if you are still in the SES sandbox, verify recipients too or request production access.
Which server sent it
- Gmail uses
550 5.7.1with texts for unsolicited mail, low IP or domain reputation and RFC 5322 problems;550 5.7.26for DMARC; and552 5.7.0for blocked attachments. - Microsoft 365 uses
5.7.1for “Delivery not authorized” (restricted groups and transport rules),5.7.509for DMARC and5.7.512for a message without a valid From address. - Yahoo uses 553 and 554 for permanent rejections: failed DMARC or DKIM, content it will not accept for policy reasons (its PH* errors), and IPs listed by Spamhaus.
- Postfix and other servers reject with
554 5.7.1from access rules and DNS blocklists. See 554 5.7.1.
Is it temporary?
Most message rejections are 5xx, so retrying the same message will fail again. Fix the cause, then send a new message. Gmail’s 421 versions of the reputation messages are temporary rate limits: your server retries, but sending more of the same mail will keep them coming.
How Mailcandor handles it
Mailcandor’s content check reviews a message before you send, its DNS check confirms SPF, DKIM and DMARC, and when a message is rejected the deliverability coach explains the reply in plain English. Hard bounces are suppressed automatically. Look up any reply with the free bounce code lookup, browse the error library, and see more free tools.