Tools

550 5.7.1 Messages missing a valid address in the From: header, or having no From: header, are not accepted

Provider: Gmail

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

How to fix it

  1. Set a valid From: address (for example name@example.com) on every message your app or server sends.
  2. Use an address on a domain you control and authenticate that domain with SPF, DKIM and DMARC.
  3. 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.

Check your domain now

Related errors

Official documentation

Paste another bounce message · All errors