Error map

headers Message rejected: missing or invalid headers (Date, Message-ID, From, MIME-Version)

Email / SMTP · layer 2, Network

Open the full error page →

Centre: this error. First ring: errors it is linked with (10). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.

headers — Message rejected: missing or invalid headers (Date, Message-ID, From, MIME-Version) (Email / SMTP)headersBOM output — Unexpected characters at the top of the page / headers already sent by BOM (PHP)BOM outputsession_start() — Warning: session_start(): Session cannot be started after headers have already been sent (PHP)session_start()Headers already sent — Warning: Cannot modify header information - headers already sent (PHP)Headers already sentWordPress: Could not instantiate mail function — WordPress: Mailer Error: Could not instantiate mail function. / wp_mail() failed (Email / SMTP)WordPress: Could no…421 4.7.0 Try again later (rate limited) — SMTP: 421 4.7.0 Our system has detected an unusual rate of unsolicited mail originating from your IP address. Mail sent from your IP address has been temporarily rate limited (Email / SMTP)421 4.7.0 Try again…554 5.7.1 Message rejected as spam — SMTP: 554 5.7.1 Message content rejected / Your message looks like spam (spam score exceeded) (Email / SMTP)554 5.7.1 Message r…line length — SMTP rejects message: line too long (998 characters limit, no folding/encoding) (Email / SMTP)line lengthTSS04 — Yahoo/AOL: 421 4.7.0 [TSS04] Messages from your IP temporarily deferred due to unexpected volume or user complaints (Email / SMTP)TSS044.7.28 — Gmail: 421 4.7.28 Our system has detected an unusual rate of unsolicited mail originating from your IP address (Email / SMTP)4.7.28550 5.7.1 — 550 5.7.1 Message rejected due to organization policy (DLP, transport rule or content filter) (Email / SMTP)550 5.7.1CORS — CORS Error: No 'Access-Control-Allow-Origin' header is present (API)CORS411 — HTTP 411 Length Required (HTTP)411428 — HTTP 428 Precondition Required (HTTP)428ExpiredToken — AWS: ExpiredToken — The security token included in the request is expired (AWS)ExpiredToken401 — HTTP 401 Unauthorized (HTTP)401session save path — Warning: session_start(): open(/var/lib/php/sessions/sess_x, O_RDWR) failed: Permission denied (PHP)session save path500 — HTTP 500 Internal Server Error (HTTP)500Call to undefined function — PHP Fatal error: Uncaught Error: Call to undefined function (PHP)Call to undefined f…Undefined array key — Warning: Undefined array key / Undefined index (PHP)Undefined array keyPHP mail — PHP mail() returns false / emails not delivered (PHP)PHP mail550 5.7.26 — 550 5.7.26 This mail has been blocked because the sender is unauthenticated (SPF/DKIM/DMARC) (Email / SMTP)550 5.7.26450 4.7.1 Greylisted, please try again later — SMTP: 450 4.7.1 <user@example.com>: Recipient address rejected: Greylisted, see http://postgrey.schweikert.ch/help/example.com.html (Email / SMTP)450 4.7.1 Greyliste…SMTP Error: Could not authenticate — WordPress / PHPMailer: SMTP Error: Could not authenticate / SMTP connect() failed (WordPress)SMTP Error: Could n…550 5.7.1 — 550 5.7.1 Relaying denied / Message rejected as spam / Unauthenticated email not accepted (Email / SMTP)550 5.7.1451 4.3.0 Local error in processing — SMTP: 451 4.3.0 Error: queue file write error / 451 Requested action aborted: local error in processing (Email / SMTP)451 4.3.0 Local err…452 4.2.2 Mailbox full / over quota — SMTP: 452 4.2.2 The email account that you tried to reach is over quota (Email / SMTP)452 4.2.2 Mailbox f…550 5.7.1 Blocked using zen.spamhaus.org — SMTP: 550 5.7.1 Service unavailable; Client host [203.0.113.5] blocked using zen.spamhaus.org (Email / SMTP)550 5.7.1 Blocked u…DMARC fail: SPF and DKIM not aligned — DMARC: dmarc=fail (p=REJECT) — SPF and DKIM pass but domains are not aligned with the From header (Email / SMTP)DMARC fail: SPF and…UnicodeDecodeError — UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 10: invalid start byte (Python)UnicodeDecodeErrorUnicodeEncodeError — UnicodeEncodeError: 'charmap' codec can't encode character '\u2192' (Python)UnicodeEncodeError552 5.3.4 Message size exceeds fixed limit — SMTP: 552 5.3.4 Message size exceeds fixed maximum message size (Email / SMTP)552 5.3.4 Message s…452 4.5.3 Too many recipients — SMTP: 452 4.5.3 Your message has too many recipients / 452 Too many recipients received this hour (Email / SMTP)452 4.5.3 Too many …554 5.7.1 Service unavailable; client host rejected — SMTP: 554 5.7.1 Service unavailable; Client host [203.0.113.5] blocked / 554 5.7.1 <mail.example.com>: Client host rejected: Access denied (Email / SMTP)554 5.7.1 Service u…554 5.4.14 Hop count exceeded - possible mail loop — SMTP: 554 5.4.14 Hop count exceeded - possible mail loop (Email / SMTP)554 5.4.14 Hop coun…534 5.7.9 Application-specific password required — SMTP: 534-5.7.9 Application-specific password required. Learn more at https://support.google.com/accounts/answer/185833 (Email / SMTP)534 5.7.9 Applicati…535 5.7.8 Username and Password not accepted — SMTP: 535-5.7.8 Username and Password not accepted. Learn more at https://support.google.com/mail/?p=BadCredentials (Email / SMTP)535 5.7.8 Username …550 5.4.5 Daily user sending quota exceeded — SMTP: 550 5.4.5 Daily user sending quota exceeded (Gmail) (Email / SMTP)550 5.4.5 Daily use…550 5.1.8 — 550 5.1.8 Sender address rejected: Domain not found (sender domain has no DNS A/MX) (Email / SMTP)550 5.1.8RecipNotFound — Microsoft 365: 550 5.1.10 RESOLVER.ADR.RecipientNotFound; Recipient not found by SMTP address lookup (Email / SMTP)RecipNotFound550 5.2.1 — 550 5.2.1 The email account you tried to reach is disabled / mailbox not accepting messages (Email / SMTP)550 5.2.1

Directly related (10)

BOM outputPHP

Unexpected characters at the top of the page / headers already sent by BOM

A UTF-8 byte-order mark (BOM) at the start of a PHP file is sent as output, breaking headers, JSON and images.

session_start()PHP

Warning: session_start(): Session cannot be started after headers have already been sent

session_start() ran after output was sent, so PHP can’t set the session cookie.

Headers already sentPHP

Warning: Cannot modify header information - headers already sent

You called `header()`, `setcookie()` or `session_start()` after output had already been sent to the browser.

WordPress: Could not instantiate mail functionEmail / SMTP

WordPress: Mailer Error: Could not instantiate mail function. / wp_mail() failed

WordPress could not send mail through PHP `mail()` because the server cannot hand the message to an MTA or the host disabled the…

421 4.7.0 Try again later (rate limited)Email / SMTP

SMTP: 421 4.7.0 Our system has detected an unusual rate of unsolicited mail originating from your IP address. Mail sent from your IP address has been temporarily rate limited

The receiving server (often Gmail or Outlook) is temporarily throttling your mail because the volume or reputation of your sendin…

554 5.7.1 Message rejected as spamEmail / SMTP

SMTP: 554 5.7.1 Message content rejected / Your message looks like spam (spam score exceeded)

The receiver's content filter scored your message as spam based on its text, links, headers or sender reputation and rejected it…

line lengthEmail / SMTP

SMTP rejects message: line too long (998 characters limit, no folding/encoding)

A single line in the message headers or body exceeded the 998-character SMTP/RFC 5322 limit.

TSS04Email / SMTP

Yahoo/AOL: 421 4.7.0 [TSS04] Messages from your IP temporarily deferred due to unexpected volume or user complaints

Yahoo deferred your mail because your IP's volume or complaint rate looks suspicious.

4.7.28Email / SMTP

Gmail: 421 4.7.28 Our system has detected an unusual rate of unsolicited mail originating from your IP address

Gmail rate-limited your sending IP because it saw a spike or spam-like patterns.

550 5.7.1Email / SMTP

550 5.7.1 Message rejected due to organization policy (DLP, transport rule or content filter)

The recipient organization's mail policy blocked the message because of its content, attachments or sender.

Two steps away (30)

CORSAPI

CORS Error: No 'Access-Control-Allow-Origin' header is present

The browser blocked a cross-origin request because the server’s response didn’t include the CORS headers allowing your site’s ori…

411HTTP

HTTP 411 Length Required

The server refuses a request with a body but no Content-Length header.

428HTTP

HTTP 428 Precondition Required

The server requires a conditional request (If-Match / If-Unmodified-Since) to prevent lost updates, and you didn’t send one.

ExpiredTokenAWS

AWS: ExpiredToken — The security token included in the request is expired

Temporary AWS credentials (STS/SSO/assumed role) have expired.

401HTTP

HTTP 401 Unauthorized

The request has no valid authentication credentials — you need to log in or send a valid token.

session save pathPHP

Warning: session_start(): open(/var/lib/php/sessions/sess_x, O_RDWR) failed: Permission denied

PHP can’t write session files to the configured session.save_path.

500HTTP

HTTP 500 Internal Server Error

The server hit an unexpected condition — usually an unhandled exception or misconfiguration in the application.

Call to undefined functionPHP

PHP Fatal error: Uncaught Error: Call to undefined function

PHP can’t find the function you called — usually a missing extension, missing include, or namespace issue.

Undefined array keyPHP

Warning: Undefined array key / Undefined index

Your code reads an array key that doesn’t exist — common with `$_GET`, `$_POST` and decoded JSON.

PHP mailPHP

PHP mail() returns false / emails not delivered

PHP’s mail() function failed or emails never arrive (spam or rejected).

550 5.7.26Email / SMTP

550 5.7.26 This mail has been blocked because the sender is unauthenticated (SPF/DKIM/DMARC)

Gmail/Outlook rejected the message because SPF and DKIM didn’t pass for the sender’s domain (DMARC failure).

450 4.7.1 Greylisted, please try again laterEmail / SMTP

SMTP: 450 4.7.1 <user@example.com>: Recipient address rejected: Greylisted, see http://postgrey.schweikert.ch/help/example.com.html

The recipient server deliberately rejected the first delivery attempt from an unknown sender (greylisting) and expects a legitima…

SMTP Error: Could not authenticateWordPress

WordPress / PHPMailer: SMTP Error: Could not authenticate / SMTP connect() failed

The SMTP server rejected the login or couldn’t be reached — wrong credentials, app passwords required, wrong port/encryption, or…

550 5.7.1Email / SMTP

550 5.7.1 Relaying denied / Message rejected as spam / Unauthenticated email not accepted

The receiving (or your outgoing) mail server refused the message — relaying isn’t allowed, the sender isn’t authenticated, or it…

451 4.3.0 Local error in processingEmail / SMTP

SMTP: 451 4.3.0 Error: queue file write error / 451 Requested action aborted: local error in processing

The server hit an internal problem (disk, database, content filter, DNS) while handling your message and asked you to retry later.

452 4.2.2 Mailbox full / over quotaEmail / SMTP

SMTP: 452 4.2.2 The email account that you tried to reach is over quota

The recipient's mailbox has exceeded its storage quota, so the server will not accept new mail for now.

550 5.7.1 Blocked using zen.spamhaus.orgEmail / SMTP

SMTP: 550 5.7.1 Service unavailable; Client host [203.0.113.5] blocked using zen.spamhaus.org

The receiving server checked your IP in a DNS blocklist (Spamhaus, Barracuda, SORBS…) and refused your mail because it is listed.

DMARC fail: SPF and DKIM not alignedEmail / SMTP

DMARC: dmarc=fail (p=REJECT) — SPF and DKIM pass but domains are not aligned with the From header

Authentication passed for another domain (your ESP's), but neither the SPF Return-Path domain nor the DKIM `d=` domain matches th…

UnicodeDecodeErrorPython

UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 10: invalid start byte

Python read bytes that aren’t valid in the encoding it assumed (usually UTF-8).

UnicodeEncodeErrorPython

UnicodeEncodeError: 'charmap' codec can't encode character '\u2192'

Python tried to write text in an encoding that can’t represent some characters — common in Windows consoles and files opened with…

552 5.3.4 Message size exceeds fixed limitEmail / SMTP

SMTP: 552 5.3.4 Message size exceeds fixed maximum message size

The message, including attachments after base64 encoding, is larger than the receiving or sending server accepts.

452 4.5.3 Too many recipientsEmail / SMTP

SMTP: 452 4.5.3 Your message has too many recipients / 452 Too many recipients received this hour

The server limits how many recipients a single message or sender may have; yours exceeded it.

554 5.7.1 Service unavailable; client host rejectedEmail / SMTP

SMTP: 554 5.7.1 Service unavailable; Client host [203.0.113.5] blocked / 554 5.7.1 <mail.example.com>: Client host rejected: Access denied

The server refused the connection from your IP because it is blocked by policy, not in the allowed list, or listed on a blacklist.

554 5.4.14 Hop count exceeded - possible mail loopEmail / SMTP

SMTP: 554 5.4.14 Hop count exceeded - possible mail loop

The message passed through too many mail servers (usually over 25), which almost always means two systems forward mail to each ot…

534 5.7.9 Application-specific password requiredEmail / SMTP

SMTP: 534-5.7.9 Application-specific password required. Learn more at https://support.google.com/accounts/answer/185833

The Google account has 2-Step Verification on, so SMTP clients cannot use the normal password; they need an app password (or OAut…

535 5.7.8 Username and Password not acceptedEmail / SMTP

SMTP: 535-5.7.8 Username and Password not accepted. Learn more at https://support.google.com/mail/?p=BadCredentials

The server received your login but rejected it — wrong username or password, an unusable password type, or a blocked sign-in.

550 5.4.5 Daily user sending quota exceededEmail / SMTP

SMTP: 550 5.4.5 Daily user sending quota exceeded (Gmail)

The Gmail or Google Workspace account reached its 24-hour sending limit, so it stops accepting outgoing mail until the limit rese…

550 5.1.8Email / SMTP

550 5.1.8 Sender address rejected: Domain not found (sender domain has no DNS A/MX)

The receiving server looked up the sender's domain and found no valid DNS record, so it rejected the message.

RecipNotFoundEmail / SMTP

Microsoft 365: 550 5.1.10 RESOLVER.ADR.RecipientNotFound; Recipient not found by SMTP address lookup

Exchange Online couldn't find a recipient with that address in the tenant's directory.

550 5.2.1Email / SMTP

550 5.2.1 The email account you tried to reach is disabled / mailbox not accepting messages

The recipient exists, but their mailbox is disabled, suspended or configured not to accept mail.