SMTP status code lookup
Paste a bounce line from a non-delivery report or a mail log, such as 550 5.1.1 User unknown, or type a code such as 421 or 5.2.2. The page reads the three-digit reply code and the enhanced status code after it.
Reply codes
Every SMTP reply starts with a three-digit code. The first digit says how the command went:
| Code | Verdict | What it means |
|---|---|---|
| 2xx | Success | The action is done. |
| 3xx | Waiting for more | Accepted so far; the server needs more input, such as the message itself. |
| 4xx | Temporary failure | Not done this time; the same request may succeed if it is tried again later. |
| 5xx | Permanent failure | Not done; the same request will fail again until something changes. |
The second digit says what the reply is about:
| Code | About | Codes in the list below |
|---|---|---|
| x0x | Syntax | 500, 501, 502, 503, 504 |
| x1x | Information | 211, 214 |
| x2x | Connections | 220, 221, 421, 521 |
| x3x | Not specified | None |
| x4x | Not specified | None |
| x5x | Mail system | 250, 251, 252, 354, 450, 451, 452, 455, 550, 551, 552, 553, 554, 555, 556 |
The codes RFC 5321 lists, with the two that RFC 7504 added:
| Code | Meaning | Defined in |
|---|---|---|
| 211 | System status, or a reply to a request for help. | RFC 5321 |
| 214 | A help message. | RFC 5321 |
| 220 | Service ready: the greeting of the server when a connection opens. | RFC 5321 |
| 221 | Service closing the connection, in answer to QUIT. | RFC 5321 |
| 250 | Requested action done. | RFC 5321 |
| 251 | User not local; the server will forward the message. | RFC 5321 |
| 252 | The server cannot check the user, but will take the message and try to deliver it. | RFC 5321 |
| 354 | Send the message; end it with a line holding only a period. | RFC 5321 |
| 421 | Service not available; the server is closing the connection. | RFC 5321 |
| 450 | Not done: the mailbox is unavailable for now, for example busy or blocked by policy. | RFC 5321 |
| 451 | Stopped: a local error in processing. | RFC 5321 |
| 452 | Not done: not enough storage on the server. | RFC 5321 |
| 455 | The server cannot accommodate the parameters. | RFC 5321 |
| 500 | Syntax error: command not recognized. | RFC 5321 |
| 501 | Syntax error in the parameters or arguments. | RFC 5321 |
| 502 | Command not implemented. | RFC 5321 |
| 503 | Bad sequence of commands. | RFC 5321 |
| 504 | Command parameter not implemented. | RFC 5321 |
| 521 | This host does not accept mail at all. | RFC 7504 |
| 550 | Not done: the mailbox is unavailable, for example not found, no access, or refused by policy. | RFC 5321 |
| 551 | User not local; the server names the address to try. | RFC 5321 |
| 552 | Stopped: storage allocation exceeded. | RFC 5321 |
| 553 | Not done: mailbox name not allowed, for example bad syntax. | RFC 5321 |
| 554 | Transaction failed, or, when the connection opens, no SMTP service here. | RFC 5321 |
| 555 | MAIL FROM or RCPT TO parameters not recognized or not implemented. | RFC 5321 |
| 556 | The domain of the address does not accept mail. | RFC 7504 |
Enhanced status codes
An enhanced status code such as 5.7.1 has three numbers: the class, the subject and the detail. The class repeats the verdict of the reply code; the subject says which part of the system the problem is in. A code whose detail is not in the registry below still has a class and a subject, and the page reads those.
| Code | Class | Defined in |
|---|---|---|
| 2.x.x | Success | RFC 3463 |
| 4.x.x | Persistent Transient Failure | RFC 3463 |
| 5.x.x | Permanent Failure | RFC 3463 |
| Code | Subject | Defined in |
|---|---|---|
| x.0.x | Other or Undefined Status | RFC 3463 |
| x.1.x | Addressing Status | RFC 3463 |
| x.2.x | Mailbox Status | RFC 3463 |
| x.3.x | Mail System Status | RFC 3463 |
| x.4.x | Network and Routing Status | RFC 3463 |
| x.5.x | Mail Delivery Protocol Status | RFC 3463 |
| x.6.x | Message Content or Media Status | RFC 3463 |
| x.7.x | Security or Policy Status | RFC 3463 |
The codes in IANA's registry, last updated 6 Dec 2024. X stands for the class, 4 or 5 (2 for the few that report success):
| Code | Meaning | Defined in |
|---|---|---|
| X.0.0 | Other undefined status | RFC 3463 |
| X.1.0 | Other address status | RFC 3463 |
| X.1.1 | Bad destination mailbox address | RFC 3463 |
| X.1.2 | Bad destination system address | RFC 3463 |
| X.1.3 | Bad destination mailbox address syntax | RFC 3463 |
| X.1.4 | Destination address ambiguous | RFC 3463 |
| X.1.5 | Destination address valid | RFC 3463 |
| X.1.6 | Destination mailbox moved, no forwarding address | RFC 3463 |
| X.1.7 | Bad sender's mailbox address syntax | RFC 3463 |
| X.1.8 | Bad sender's system address | RFC 3463 |
| X.1.9 | Message relayed to non-compliant mailer | RFC 3886 |
| X.1.10 | Recipient address has null MX | RFC 7505, RFC 7504 |
| X.2.0 | Other or undefined mailbox status | RFC 3463 |
| X.2.1 | Mailbox disabled, not accepting messages | RFC 3463 |
| X.2.2 | Mailbox full | RFC 3463 |
| X.2.3 | Message length exceeds administrative limit | RFC 3463 |
| X.2.4 | Mailing list expansion problem | RFC 3463 |
| X.3.0 | Other or undefined mail system status | RFC 3463 |
| X.3.1 | Mail system full | RFC 3463 |
| X.3.2 | System not accepting network messages | RFC 3463, RFC 7504 |
| X.3.3 | System not capable of selected features | RFC 3463 |
| X.3.4 | Message too big for system | RFC 3463 |
| X.3.5 | System incorrectly configured | RFC 3463 |
| X.3.6 | Requested priority was changed | RFC 6710 |
| X.4.0 | Other or undefined network or routing status | RFC 3463 |
| X.4.1 | No answer from host | RFC 3463 |
| X.4.2 | Bad connection | RFC 3463 |
| X.4.3 | Directory server failure | RFC 3463 |
| X.4.4 | Unable to route | RFC 3463 |
| X.4.5 | Mail system congestion | RFC 3463 |
| X.4.6 | Routing loop detected | RFC 3463 |
| X.4.7 | Delivery time expired | RFC 3463 |
| X.5.0 | Other or undefined protocol status | RFC 3463 |
| X.5.1 | Invalid command | RFC 3463 |
| X.5.2 | Syntax error | RFC 3463 |
| X.5.3 | Too many recipients | RFC 3463 |
| X.5.4 | Invalid command arguments | RFC 3463 |
| X.5.5 | Wrong protocol version | RFC 3463 |
| X.5.6 | Authentication exchange line too long | RFC 4954 |
| X.6.0 | Other or undefined media error | RFC 3463 |
| X.6.1 | Media not supported | RFC 3463 |
| X.6.2 | Conversion required and prohibited | RFC 3463 |
| X.6.3 | Conversion required but not supported | RFC 3463 |
| X.6.4 | Conversion with loss performed | RFC 3463 |
| X.6.5 | Conversion failed | RFC 3463 |
| X.6.6 | Message content not available | RFC 4468 |
| X.6.7 | Non-ASCII addresses not permitted | RFC 6531 |
| X.6.8 | UTF-8 string reply not permitted | RFC 6531 |
| X.6.9 | UTF-8 header message cannot be transferred | RFC 6531 |
| X.6.10 | Deprecated duplicate of X.6.8 | RFC 6531 |
| X.7.0 | Other or undefined security status | RFC 3463 |
| X.7.1 | Delivery not authorized, message refused | RFC 3463 |
| X.7.2 | Mailing list expansion prohibited | RFC 3463 |
| X.7.3 | Security conversion required but not possible | RFC 3463 |
| X.7.4 | Security features not supported | RFC 3463 |
| X.7.5 | Cryptographic failure | RFC 3463 |
| X.7.6 | Cryptographic algorithm not supported | RFC 3463 |
| X.7.7 | Message integrity failure | RFC 3463 |
| X.7.8 | Authentication credentials invalid | RFC 4954 |
| X.7.9 | Authentication mechanism too weak | RFC 4954 |
| X.7.10 | Encryption needed | RFC 5248 |
| X.7.11 | Encryption required for requested mechanism | RFC 4954 |
| X.7.12 | Password transition needed | RFC 4954 |
| X.7.13 | User account disabled | RFC 5248 |
| X.7.14 | Trust relationship required | RFC 5248 |
| X.7.15 | Priority level too low | RFC 6710 |
| X.7.16 | Message too big for specified priority | RFC 6710 |
| X.7.17 | Mailbox owner changed | RFC 7293 |
| X.7.18 | Domain owner changed | RFC 7293 |
| X.7.19 | RRVS test cannot be completed | RFC 7293 |
| X.7.20 | No passing DKIM signature found | RFC 7372, RFC 6376 |
| X.7.21 | No acceptable DKIM signature found | RFC 7372, RFC 6376 |
| X.7.22 | No valid author-matched DKIM signature found | RFC 7372, RFC 6376 |
| X.7.23 | SPF validation failed | RFC 7372, RFC 7208 |
| X.7.24 | SPF validation error | RFC 7372, RFC 7208 |
| X.7.25 | Reverse DNS validation failed | RFC 7372 |
| X.7.26 | Multiple authentication checks failed | RFC 7372 |
| X.7.27 | Sender address has null MX | RFC 7505 |
| X.7.28 | Mail flood detected | draft-levine-mailbomb-header |
| X.7.29 | ARC validation failure | RFC 8617 |
| X.7.30 | REQUIRETLS support required | RFC 8689 |
Exchange Online codes
Microsoft 365 sends codes of its own, and gives some registry codes its own meaning: in its bounces 5.1.10 means that no recipient has the address. Microsoft's list, with its descriptions and causes:
| Code | Microsoft's description | Possible cause |
|---|---|---|
| 432 4.3.2 | STOREDRV.Deliver; recipient thread limit exceeded | The ability of the recipient mailbox to accept messages is throttled because it's receiving too many messages too quickly. Throttling is done so that a single recipient's mail processing doesn't unfairly affect other recipients who are sharing the mailbox database. |
| 4.4.7 | Message expired | The message in the queue expired. The sending server tried to relay or deliver the message, but the action wasn't completed before the message expiration time. This message can also indicate that a message header limit was reached on a remote server, or some other protocol timeout occurred during server communication. |
| 4.4.8 | MX hosts of <domain> failed MTA-STS validation | The destination MX host isn't the expected host per the domain's Strict Transport Security (STS) policy. |
| 4.4.316 | Connection refused [Message=Socket error code 10061] | Microsoft 365 or Office 365 is trying to send a message to an email server outside Microsoft 365 or Office 365, but all attempts to connect are failing because of a network connection issue at the external server's location. |
| 450 4.4.317 | Cannot connect to remote server [Message=UntrustedRoot] | During the Transport Layer Security (TLS) handshake, Exchange Online can't verify the authenticity of a leaf certificate sent without the full certificate chain by a remote email server. |
| 4.5.3 | Too many recipients | The message has more than 200 SMTP envelope recipients from the same domain. |
| 4.7.5 | Remote certificate failed MTA-STS validation. Reason: <validityStatus> | The destination mail server's certificate must chain to a trusted root Certificate Authority and the Common Name or Subject Alternative Name must contain an entry for the host name in the STS policy. |
| 4.7.26 | Access denied, a message sent over IPv6 [2a01:111:f200:2004::240] must pass either SPF or DKIM validation, this message is not signed | The sending message sent over IPv6 must pass either SPF or DKIM. |
| 4.7.321 | starttls-not-supported: Destination mail server must support TLS to receive mail. | DNSSEC checks passed. However, upon establishing the connection, the destination mail server doesn't respond to the STARTTLS command. The destination server responds to the STARTTLS command, but the TLS handshake fails. |
| 4.7.322 | certificate-expired: Destination mail server's certificate is expired. | DNSSEC checks passed. However, upon establishing the connection, the destination mail server provides an expired certificate. |
| 4.7.323 | tlsa-invalid: The domain failed DANE validation. | Records are DNSSEC authentic, but one or multiple of these scenarios occurred: The destination mail server's certificate doesn't match the authentic TLSA record requirements.Authentic TLSA record is misconfigured.Destination domain is being attacked.Any other DANE failure. |
| 4.7.324 | dnssec-invalid: Destination domain returned invalid DNSSEC records | The destination domain indicated that it was DNSSEC-authentic, but Exchange Online wasn't able to verify it as DNSSEC-authentic. |
| 4.7.325 | certificate-host-mismatch: Remote certificate MUST have a common name or subject alternative name that matches the hostname (DANE) | This error occurs if the presented certificate identities (CN and SAN) of a destination SMTP target host don't match any of the domains or MX host. |
| 4.7.500-699 | Access denied, please try again later | Suspicious activity was detected and sending was temporarily restricted for further evaluation. |
| 4.7.850-899 | Access denied, please try again later | Suspicious activity was detected on the IP in question, and the address is temporarily restricted while being further evaluated. |
| 5.0.350 | Generic error, x-dg-ref header is too long, or Requested action not taken: policy violation detected (AS345) | 5.0.350 is a generic catch-all error code for a wide variety of nonspecific errors from the recipient's email organization. The specific x-dg-ref header is too long message is related to Rich Text-formatted messages. The specific Requested action not taken: policy violation detected (AS345) message is related to nested attachments. |
| 5.1.0 | Sender denied | This NDR commonly occurs when someone saves an email message to a file in Outlook, opens it offline, and then replies. The message property preserves only the legacyExchangeDN attribute when Outlook delivers the message. Therefore, the lookup could fail. |
| 5.1.1 | Bad destination mailbox address | The following conditions might cause this failure: The sender incorrectly entered the recipient's email address.The recipient's email address doesn't exist in the destination email system.The recipient's mailbox was moved, and the sender's Outlook recipient cache didn't update.An invalid legacy domain name (DN) exists for the recipient's mailbox Active Directory Domain Service. |
| 5.1.8 | Access denied, bad outbound sender | The account was blocked for sending too much spam. Typically, this problem occurs because the account was compromised (hacked) by phishing or malware. |
| 5.1.10 | Recipient not found | SMTP address lookup didn't find the recipient's <SMTP Address>. |
| 550 5.1.20 | Multiple From addresses are not allowed without Sender address | An email message has multiple email addresses in the From field, but no email address in the Sender field. |
| 5.1.90 | Your message can't be sent because you've reached your daily limit for message recipients | The sender exceeded the recipient rate limit, as described in Sending limits. |
| 5.2.2 | Submission quota exceeded | The sender exceeded the recipient rate limit or the message rate limit as described in Sending limits. |
| 5.2.121 | Recipient's per hour message receive limit from specific sender exceeded | The sender exceeded the maximum number of messages that they're allowed to send per hour to a specific recipient in Exchange Online. |
| 5.2.122 | Recipient's per hour message receive limit exceeded | The Microsoft 365 or Office 365 recipient exceeded the number of messages that they can receive per hour from all senders. |
| 5.3.190 | Journaling on-premises messages to Microsoft 365 or Office 365 not supported when Journaling Archive is disabled | Journaling on-premises messages to Microsoft 365 or Office 365 isn't supported for this organization because Journaling Archive isn't enabled in the organization's settings. |
| 5.4.1 | Relay Access Denied | The mail server that's generating the error doesn't accept mail for the recipient's domain. Mail server or DNS misconfiguration causes this error. |
| 5.4.1 | Recipient address rejected: Access denied | The recipient's address doesn't exist. |
| 5.4.6 or 5.4.14 | Routing loop detected | A configuration error caused an email loop. On-premises Exchange server generates error 5.4.6 (you see this code in hybrid environments). Exchange Online generates error 5.4.14. By default, after 20 iterations of an email loop, Exchange interrupts the loop and generates an NDR to the sender of the message. |
| 5.4.8 | MX hosts of <domain> failed MTA-STS validation | The destination MX host wasn't the host expected per the domain's STS policy. |
| 5.4.300 | Message expired | The email message wasn't delivered in time. The destination server didn't respond, or an error occurred, and the NDR could not be delivered to the sender. |
| 5.5.0 | 550 5.5.0 Requested action not taken: mailbox unavailable | The recipient's <SMTP Address> domain is @hotmail.com or @outlook.com and it wasn't found by SMTP address lookup. |
| 5.6.11 | Invalid characters | Your email program added invalid characters (bare line feed characters) to a message that you sent. |
| 5.7.1 | Delivery not authorized | The sender of the message isn't allowed to send messages to the recipient. |
| 5.7.1 | Unable to relay | The sending email system isn't allowed to send a message to an email system that isn't the final destination of the message. |
| 5.7.1 | Client was not authenticated | The sending email system didn't authenticate with the receiving email system. The receiving email system requires authentication before message submission. |
| 5.7.5 | Remote certificate failed MTA-STS validation. Reason: <validityStatus> | The destination mail server's certificate must chain to a trusted root Certificate Authority and the Common Name or Subject Alternative Name must contain an entry for the host name in the STS policy. |
| 5.7.12 | Sender was not authenticated by organization | The sender's message is rejected because the recipient address is set up to reject messages sent from outside its organization. Only an email administrator for the recipient's organization can change this configuration. |
| 5.7.23 | The message was rejected because of Sender Policy Framework violation | The destination email system uses SPF to validate inbound mail, and an issue affects your SPF configuration. |
| 5.7.25 | Access denied, the sending IPv6 address [2a01:111:f200:2004::240] must have a reverse DNS record | The sending IPv6 address must have a reverse DNS record to send email over IPv6. |
| 5.7.57 | Client was not authenticated to send anonymous mail during MAIL FROM | You configured an application or device to send (relay) email messages in Microsoft 365 or Office 365 using the smtp.office365.com endpoint, and an issue affects the configuration of the application or device. |
| 5.7.64 | TenantAttribution; Relay Access Denied | You use an inbound connector to receive messages from your on-premises email environment, and something changed in your on-premises environment that makes the inbound connector's configuration incorrect. |
| 5.7.124 | Sender not in allowed-senders list | The sender doesn't have permission to send to the distribution group because the sender isn't in the group's allowed-senders list. Depending how the group is set up, even the group's owner might have to be added to the allowed sender list in order to send messages to the group. |
| 5.7.133 | Sender not authenticated for group | The recipient address is a group distribution list that's set up to reject messages sent from outside its organization. Only an email administrator for the recipient's organization or the group owner can change this configuration. |
| 5.7.134 | Sender was not authenticated for mailbox | The recipient address is a mailbox that's set up to reject messages sent from outside its organization. Only an email administrator for the recipient's organization can change this configuration. |
| 5.7.13 or 135 | Sender was not authenticated for public folder | The recipient address is a public folder that's set up to reject messages sent from outside its organization. Only an email administrator for the recipient's organization can change this configuration. |
| 5.7.136 | Sender was not authenticated | The recipient address is a mail user that's set up to reject messages sent from outside its organization. Only an email administrator for the recipient's organization can change this configuration. |
| 5.7.232 | Your message can't be sent because your trial tenant has exceeded its daily limit for sending email to external recipients (tenant external recipient rate limit) | The number of external recipients emailed in a 24-hour period exceeds the external recipient rate limit in Exchange Online. The limit applies per trial tenant. |
| 5.7.233 | Your message can't be sent because your tenant exceeded its daily limit for sending email to external recipients (tenant external recipient rate limit) | The number of external recipients emailed in a 24-hour period exceeds the external recipient rate limit in Exchange Online. The limit applies per tenant. |
| 5.7.236 | Your message can't be sent because your tenant has exceeded its daily limit for sending email to external recipients from your tenant's onmicrosoft.com domains | Your organization exceeded the limit of sending emails to 100 external recipients from your organization's onmicrosoft.com (MOERA) domain within a 24-hour rolling window. This limit is enforced per tenant. |
| 5.7.321 | starttls-not-supported: Destination mail server must support TLS to receive mail. | DNSSEC checks passed. However, upon establishing the connection, the destination mail server doesn't respond to the STARTTLS command. The destination server responds to the STARTTLS command, but the TLS handshake fails. |
| 5.7.322 | certificate-expired: Destination mail server's certificate is expired. | DNSSEC checks passed. However, upon establishing the connection, the destination mail server provides a certificate that's expired. |
| 5.7.323 | tlsa-invalid: The domain failed DANE validation. | Records are DNSSEC authentic but one or more of the following things occurred: The destination mail server's certificate doesn't match what is expected per the authentic TLSA record. The authentic TLSA record is misconfigured. The destination domain is being attacked. The certificate start date is in the future. Any other DANE failure. |
| 5.7.324 | dnssec-invalid: Destination domain returned invalid DNSSEC records | The destination domain indicated it was DNSSEC authentic but Exchange Online wasn't able to verify it as DNSSEC authentic. |
| 5.7.325 | certificate-host-mismatch: Remote certificate MUST have a common name or subject alternative name matching the hostname (DANE) | This error occurs if the presented certificate identities (CN and SAN) of a destination SMTP target host don't match any of the domains or MX host. |
| 5.7.367 | Remote server returned not permitted to relay | This error occurs because of SPF or DKIM authentication failures in forwarded or relayed emails. This problem occurs more frequently in mail flows that include non-Microsoft gateways. |
| 5.7.501 | Access denied, spam abuse detected | The sending account was banned because of detected spam activity. |
| 5.7.502 | Access denied, banned sender | The sending account was banned because of detected spam activity. |
| 5.7.503 | Access denied, banned sender | The sending account was banned because of detected spam activity. |
| 5.7.504 | [email@contoso.com]: Recipient address rejected: Access denied | The recipient address that you're trying to contact isn't valid. |
| 5.7.505 | Access denied, banned recipient | The recipient that you're trying to contact isn't valid. |
| 5.7.506 | Access Denied, Bad HELO | Your server is trying to introduce itself (HELO according to RFC 821) as the server it's trying to connect to, rather than its own fully qualified domain name. |
| 5.7.507 | Access denied, rejected by recipient | The recipient's organization blocked the IP from which you're trying to send. |
| 5.7.508 | Access denied, [$SenderIPAddress] has exceeded permitted limits within $range range | The sender's IPv6 range tried to send too many messages in too short a time period. |
| 5.7.509 | Access denied, sending domain [$SenderDomain] does not pass DMARC verification and has a DMARC policy of reject. | The sender's domain in the 5322.From address doesn't pass DMARC. |
| 5.7.510 | Access denied, [contoso.com] does not accept email over IPv6 | The sender is trying to transmit a message to the recipient over IPv6, but the recipient doesn't accept email messages over IPv6. |
| 5.7.511 | Access denied, banned sender | The IP that you're trying to send from was banned. |
| 5.7.512 | Access denied, message must be RFC 5322 section 3.6.2 compliant | Message was sent without a valid "From" email address. |
| 5.7.513 | Service unavailable, Client host [$ConnectingIP] blocked by $recipientDomain using Customer Block list (AS16012607) | The recipient domain added your sending IP address to its custom block list. |
| 5.7.520 | Access denied, Your organization does not allow external forwarding. Please contact your administrator for further assistance. AS(7555) | When Exchange Online detects that a message is forwarded automatically, and an outbound spam filter policy blocks the forwarding activity, the message is restricted and this NDR is sent to the sender. |
| 5.7.606-649 | Access denied, banned sending IP [IP1.IP2.IP3.IP4] | The IP that you're trying to send from was banned. |
| 5.7.703 | Your message can't be delivered because messages to XXX, YYY are blocked by your organization using Tenant Allow Block List. | Someone in your organization sent mail to an email address or domain that's blocked in the Tenant Allow/Block List. The whole message is blocked for all internal and external recipients of the message, even if only one recipient email address or domain is defined in a block entry. |
| 5.7.705 5.7.708 | 5.7.705 Access denied, tenant has exceeded threshold, 5.7.708 Access denied, traffic not accepted from this IP | Most of the traffic from this tenant is detected as suspicious. Therefore, a ban is put on the sending ability of the tenant. |
| 5.7.750 | Service unavailable. Client blocked from sending from unregistered domains | A suspicious number of messages from unprovisioned domains is coming from this tenant. |
| 5.7.800 | Access denied, banned sender | The EHLO, P1, or P2 sender domain of this message was banned because of detected spam activity. |
| 421 4.3.240 | The maximum number of concurrent server connections has exceeded a per authenticated source limit, closing transmission channel. | The sender opened too many simultaneous authenticated connections to the service, and exceeded the allowed limit of 250. |
| 450 4.4.244 | The HVE message can't be submitted because the recipient rate limit was exceeded. | The sender tried to send many messages to a small number of recipients within a short time window, and caused this submission to be throttled. |
| 535 5.7.142 | XOAUTH2 authentication failed. Token will expire soon. | The OAuth access token that's used for authentication was close to expiration and was rejected. The client must request a new token, and retry authentication. |
| 535 5.7.143 | XOAUTH2 authentication failed. Expired token. | The client tried to authenticate by using an OAuth access token that's already expired. |
| 535 5.7.144 | XOAUTH2 authentication failed. Invalid API permissions. | An invalid token that has the wrong permission is set on the app that's registered to use HVE with OAuth. |
| 550 5.1.241 | The message can't be delivered because the recipient is an HVE account. HVE accounts do not have associated mailboxes and can only send messages. | The recipient address belongs to an HVE account that's designed for sending only, and it can't receive email messages. |
| 550 5.2.240 | The email account is not set up properly for the HVE service. Contact your administrator. | The sending account isn't set up correctly for the HVE service. Therefore, the message submission was rejected. |
| 550.5.2.241 | The HVE account is not properly set up for billing. Contact your administrator. | The HVE account doesn't have a valid billing configuration. |
| 550 5.6.240 | One of MIME Headers is not allowed. | The message contains a MIME header that isn't permitted. |
| 550 5.6.241 | Mandatory From Header is missing or invalid. | The message is missing a valid From header, or the From header is incorrectly formatted. |
| 550 5.7.240 | The application is not allowed for use with an HVE account. Contact your administrator. | The application that's used to send the message isn't authorized for HVE accounts. |
| 550 5.7.241 | Trial tenant is not able to use HVE. Contact your administrator. | The sender is using a trial tenant that isn't supported for HVE. |
| 550 5.7.242 | Inactive tenant is not able to use HVE. Contact your administrator. | The sender is using an inactive tenant that isn't supported for HVE. |
| 550 5.7.243 | This tenant is blocked from using HVE. Contact your administrator. | The tenant is blocked from using HVE. |
| 550 5.7.244 | Message rejected. External sending is not supported for HVE accounts. This message cannot be delivered to external recipients. Please remove any external recipients and try sending again. | HVE accounts can't send messages to external recipients. |
| 550 5.7.245 | External sending is not supported for HVE accounts. The message can't be delivered to this recipient. | HVE accounts can't send messages to external recipients. |
| 550 5.7.246 | Removed external recipients that were not originally specified on submission. | External recipients that weren't explicitly specified in the message (for example, through distribution list expansion) were removed because HVE doesn't support external recipients. |
Sources
- Reply codes: RFC 5321, sections 4.2.1 and 4.2.3, and RFC 7504 for 521 and 556.
- Enhanced status codes: IANA's Simple Mail Transfer Protocol (SMTP) Enhanced Status Codes registry, last updated 6 Dec 2024, and the RFCs it names. The meanings are written here in short.
- Exchange Online codes: Microsoft's page Email non-delivery reports and SMTP errors in Exchange Online, from Microsoft's repository SupportArticles-docs at commit bcf1399 (21 Nov 2026), under the Creative Commons Attribution 4.0 International licence. The descriptions and causes are Microsoft's, with links and formatting removed.
More Email and M365 tools
-
Email header analyzer
Paste message headers: each hop and its delay, SPF, DKIM and DMARC results, and Microsoft 365's SCL, BCL and SFV in words.
-
AADSTS error code lookup
Look up AADSTS50126, AADSTS700016 or any other Microsoft Entra sign-in error, alone or in a pasted message.
-
JWT and access token decoder
Read the claims of a Microsoft Entra access or ID token, with exp, iat and nbf as dates, in your browser.
-
dsregcmd /status reader
Paste the output of dsregcmd /status: the join state, each field in words, and the values that point at a problem.
-
Intune and Autopilot error codes
App install codes such as 0x87D1041C, MDM enrollment errors such as 0x8018000A, and Autopilot import errors 806 and 808.
-
Safe Links and URL Defense decoder
See the address inside a Microsoft Safe Links or Proofpoint URL Defense link as plain text, without opening it.
-
Punycode and lookalike checker
Convert xn-- names to Unicode and back, and see when a name mixes scripts or has letters that look like ASCII ones.
-
SPF and DMARC record builder
Build SPF and DMARC records, or paste one to see what each part does.
-
DKIM record checker
Check a DKIM key record: key type and length, flags and mistakes, with a long key split into 255-character strings.
-
DMARC report viewer
Open DMARC aggregate reports (.xml, .gz or .zip) in your browser: senders, counts, and SPF and DKIM alignment.
-
MTA-STS and TLS-RPT builder
Build the MTA-STS and TLS-RPT records and the policy file, or paste one to read it.