Fix email errors / Sending errors

SMTP error 550 5.7.26: Gmail blocked unauthenticated mail

550 5.7.26 is Gmail refusing a message it could not authenticate: neither SPF nor DKIM passed, or the From domain’s DMARC policy said to reject it. The fix is in your domain’s DNS records or the service you send through.

Fix it

  1. SPF: the service you send through must be in your SPF record. Check with the SPF checker and add it with the SPF generator.
  2. DKIM: turn on DKIM signing for your domain at the sending service and publish its key. Check with the DKIM checker.
  3. DMARC alignment: the domain that passes SPF or DKIM must match the domain in the From line. A service that signs with its own domain does not count for yours.
  4. Forwarding: if the message was forwarded, SPF fails at the forwarder. DKIM survives forwarding, so make sure messages are signed.

Then send a test to a Gmail address and run its headers through the sender check.