550 5.7.1 Messages missing a valid address in the From: header, or having no From: header, are not accepted
Sample bounce line
550-5.7.1 Messages missing a valid address in the From: header, or having no From: header, are not accepted. For more information, go to https://support.google.com/mail/answer/81126
What it means
Gmail rejected the message because its From: header was missing, empty or not a valid email address. Every message to Gmail must name a real sender address in From:.
Why it happens
- A script, form handler or application that builds messages without a From: header.
- A From: header with only a display name, or a malformed address such as one with spaces or a missing @.
- A mail library or relay that drops or rewrites the From: header incorrectly.
How to fix it
- Set a valid From: address (for example name@example.com) on every message your app or server sends.
- Use an address on a domain you control and authenticate that domain with SPF, DKIM and DMARC.
- Send a test to a Gmail address and check the From: line in Show original.
Check your domain now
Many of these errors come from missing or broken SPF, DKIM, DMARC or reverse DNS records. Enter your domain to run the free check.
Related errors
- 421 4.7.32 Your email has been rate limited because the From: header (RFC5322) in this message isn't aligned with either the authenticated SPF or DKIM organizational domain
- 550 5.7.26 This email has been blocked because the sender is unauthenticated