| 550 5.7.1 |
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 a… |
| Laravel: Connection could not be established with host |
Laravel: Symfony\Component\Mailer\Exception\TransportException: Connection could not be established with host "smtp.mailtrap.io:2525": stream_socket_client(): Unable to connect |
Laravel's mailer could not connect to the SMTP host configured in `.env`. |
| SES: Maximum sending rate exceeded |
Amazon SES: Throttling — Maximum sending rate exceeded (454 Throttling failure) |
You are sending faster than your Amazon SES account's per-second limit, so SES throttles the requests. |
| 550 5.1.1 |
550 5.1.1 The email account that you tried to reach does not exist (User unknown) |
The recipient mailbox doesn’t exist on the receiving server — a typo in the address, a deleted account, or a… |
| Laravel: Expected response code 250 but got 550 |
Laravel: Expected response code "250" but got code "550", with message "550 5.7.1 Relaying denied" |
Laravel connected and authenticated but the SMTP server rejected the message at the RCPT TO / MAIL FROM / DAT… |
| Postfix: Host or domain name not found |
Postfix: status=deferred (Host or domain name not found. Name service error for name=example.com type=A: Host not found, try again) |
Postfix could not resolve the destination domain through DNS — the resolver is down or unreachable, or the do… |
| 550 5.7.25 PTR record required |
SMTP: 550-5.7.25 The IP address sending this message does not have a PTR record setup, or the corresponding forward DNS entry does not point to the sending IP |
Gmail (and others) require your sending IP to have a reverse DNS (PTR) record that resolves back to the same… |
| IMAP: Too many simultaneous connections |
IMAP: NO [ALERT] Too many simultaneous connections. (Failure) |
The server limits concurrent IMAP sessions per account and your clients (phone, laptop, scripts) opened more… |
| Mailgun: Sandbox domains are for test purposes only |
Mailgun: 403 Forbidden — Sandbox subdomains are for test purposes only. Please add your own domain or add the address to authorized recipients |
You are sending from Mailgun's free sandbox domain, which only delivers to addresses you have manually author… |
| Nodemailer: ETIMEDOUT / ECONNECTION |
Nodemailer: Error: connect ETIMEDOUT 142.250.27.108:465 (code: 'ETIMEDOUT', command: 'CONN') |
Nodemailer could not open a connection to the SMTP server before the timeout — a blocked port, wrong host, or… |
| self-signed certificate (SMTP TLS) |
Nodemailer: Error: self signed certificate in certificate chain (code: 'ESOCKET') / unable to verify the first certificate |
Nodemailer refused the SMTP server's TLS certificate because it is self-signed, expired, hostname-mismatched… |
| Postfix: status=deferred (connect ... Connection timed out) |
Postfix: status=deferred (connect to gmail-smtp-in.l.google.com[142.250.27.26]:25: Connection timed out) |
Postfix could not reach the remote mail server on port 25, so the message stays in the queue and is retried. |
| 450 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 |
The recipient server deliberately rejected the first delivery attempt from an unknown sender (greylisting) an… |
| 554 5.4.14 Hop count exceeded - possible mail loop |
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 for… |
| 550 5.7.26 |
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). |
| DKIM: body hash did not verify |
DKIM: dkim=fail (body hash did not verify) / signature verification failed |
The receiver recomputed the message hash and it does not match the DKIM signature, so the message was altered… |
| DKIM: no key for signature |
DKIM: dkim=permerror (no key for signature) / key not found in DNS selector._domainkey |
The message is signed with a selector, but the receiver found no DKIM public key in DNS at that selector, so… |
| 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 |
The receiving server (often Gmail or Outlook) is temporarily throttling your mail because the volume or reput… |
| 452 4.2.2 Mailbox full / over quota |
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. |
| No MX record / Domain not found |
SMTP: 550 5.1.2 Domain not found / 554 5.4.4 Unable to resolve MX / Host or domain name not found |
Mail cannot be routed because the recipient domain has no MX (or A) record, or DNS for it fails. |
| 550 5.4.1 Recipient address rejected: Access denied |
SMTP: 550 5.4.1 Recipient address rejected: Access denied. AS(201806281) [DB5EUR03FT015.eop-EUR03.prod.protection.outlook.com] |
Microsoft 365 / Exchange Online rejected the message because the recipient address does not exist in that ten… |
| 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 |
The server refused the connection from your IP because it is blocked by policy, not in the allowed list, or l… |
| SPF PermError: too many DNS lookups |
SPF: spf=permerror — Too many DNS lookups (limit is 10) |
Your SPF record needs more than 10 DNS lookups to evaluate, so receivers treat SPF as a permanent error and t… |
| WordPress: Could not instantiate mail function |
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 th… |
| DMARC: no record found |
DMARC: dmarc=none (no DMARC record found for example.com) — bulk sender requirements not met |
The sender's domain publishes no `_dmarc` TXT record, so receivers cannot apply any policy; Gmail and Yahoo n… |
| Nodemailer: Greeting never received |
Nodemailer: Error: Greeting never received (code: 'ETIMEDOUT', command: 'CONN') |
The TCP connection was made but the server never sent its SMTP `220` banner — usually a TLS mode mismatch or… |
| Nodemailer: EAUTH Invalid login |
Nodemailer: Error: Invalid login: 535-5.7.8 Username and Password not accepted (code: 'EAUTH', responseCode: 535) |
The SMTP server rejected the credentials passed to Nodemailer. |
| sendmail: not found (PHP mail) |
PHP: sh: 1: /usr/sbin/sendmail: not found — mail() returns false |
PHP's `mail()` calls the `sendmail_path` program, but it is not installed or the path in php.ini is wrong. |
| Postfix: bind 0.0.0.0 port 25: Address already in use |
Postfix: fatal: bind 0.0.0.0 port 25: Address already in use |
Postfix cannot start its SMTP listener because another process (often Sendmail, Exim or a second Postfix) alr… |
| Postfix: SASL authentication failed |
Postfix: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory |
Postfix could not authenticate a user (inbound) or could not log in to a relay (outbound) because the SASL se… |
| SSL: WRONG_VERSION_NUMBER (SMTP port) |
SMTP: [SSL: WRONG_VERSION_NUMBER] wrong version number — SMTP over SSL on a STARTTLS port |
Your client tried to start TLS immediately on a port where the server speaks plain SMTP first (or the reverse… |
| 451 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 |
The server hit an internal problem (disk, database, content filter, DNS) while handling your message and aske… |
| Helo command rejected: need fully-qualified hostname |
SMTP: 504 5.5.2 <localhost>: Helo command rejected: need fully-qualified hostname |
The receiving server refused your EHLO/HELO greeting because the name you sent is not a valid fully-qualified… |
| 530 5.7.0 Authentication Required |
SMTP: 530 5.7.0 Must issue a STARTTLS command first / 530 5.7.1 Authentication required |
The server will not accept mail until you encrypt the connection (STARTTLS) and/or authenticate, and your cli… |
| SmtpClientAuthentication is disabled for the Tenant |
SMTP: 535 5.7.139 Authentication unsuccessful, basic authentication is disabled / SmtpClientAuthentication is disabled for the Tenant |
Microsoft 365 turned off password-based SMTP AUTH for your mailbox or tenant; your client must use OAuth or t… |
| 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 |
The server received your login but rejected it — wrong username or password, an unusable password type, or a… |
| 552 5.3.4 Message size exceeds fixed limit |
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 acce… |
| 553 5.7.1 Sender address rejected: not owned by user |
SMTP: 553 5.7.1 <noreply@example.com>: Sender address rejected: not owned by user user@example.com |
The SMTP server only lets an authenticated user send as addresses they own, and the From/envelope sender does… |
| Outbound port 25 blocked |
SMTP: telnet smtp.example.com 25 — Connection timed out (cloud provider blocks port 25) |
Connections from your server to other mail servers on port 25 time out because your cloud host or ISP blocks… |
| SPF fail / softfail: sender IP not authorized |
SPF: Received-SPF: softfail (google.com: domain of transitioning bounce@example.com does not designate 203.0.113.5 as permitted sender) |
The server that sent the mail is not listed in the sender domain's SPF record, so the receiver marks it fail… |
| 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 |
Authentication passed for another domain (your ESP's), but neither the SPF Return-Path domain nor the DKIM `d… |
| PHPMailer: SMTP connect() failed |
PHPMailer: SMTP Error: Could not connect to SMTP host. Failed to connect to server (SMTP connect() failed) |
PHPMailer could not open a socket to the SMTP server — wrong host/port/encryption, a blocked port, or a PHP/O… |
| SendGrid 403: from address does not match a verified Sender Identity |
SendGrid: 403 Forbidden — The from address does not match a verified Sender Identity. Mail cannot be sent until this error is resolved |
SendGrid only sends from addresses or domains you have verified (single sender or domain authentication). |
| 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 |
The server limits how many recipients a single message or sender may have; yours exceeded it. |
| 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 |
The Google account has 2-Step Verification on, so SMTP clients cannot use the normal password; they need an a… |
| 550 5.4.5 Daily user sending quota exceeded |
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… |
| 554 5.7.1 Message rejected as spam |
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 reputat… |
| IMAP: [AUTHENTICATIONFAILED] Invalid credentials |
IMAP: NO [AUTHENTICATIONFAILED] Invalid credentials (Failure) |
The IMAP server rejected the login — wrong password, IMAP disabled, an app password required, or basic auth b… |
| ConnectionRefusedError [Errno 111] (SMTP) |
Python: ConnectionRefusedError: [Errno 111] Connection refused — smtplib connect to localhost:25 |
Nothing is listening on the SMTP host and port your script connected to — often `localhost:25` because no hos… |
| 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 |
The receiving server checked your IP in a DNS blocklist (Spamhaus, Barracuda, SORBS…) and refused your mail b… |
| SPF: multiple SPF records |
SPF: spf=permerror — Multiple SPF records found for example.com |
The domain publishes more than one TXT record starting with `v=spf1`; receivers must treat that as a permanen… |
| SMTPAuthenticationError (Python) |
Python: smtplib.SMTPAuthenticationError: (535, b'5.7.8 Username and Password not accepted') |
`smtp.login()` was rejected by the server — wrong credentials, wrong password type, or authentication not all… |
| SMTPServerDisconnected: Connection unexpectedly closed |
Python: smtplib.SMTPServerDisconnected: Connection unexpectedly closed |
The server closed the connection before your script finished the SMTP conversation — a timeout, blocked IP, T… |