Email Bounce Codes Explained: 4xx, 5xx and What to Fix
Read the SMTP and enhanced status codes in an email bounce, distinguish delayed and failed delivery, and fix the problem for the affected recipient.
A bounce tells you what happened to an attempt to deliver an email. Find the affected address, the action the mail system took and the diagnostic text. A 4xx response normally describes a temporary problem. A 5xx response normally calls for a change before you try again. In a delivery status notification, read the action too, because the queue may have stopped retrying a temporary problem.
Start with the failed address and the exact wording
The subject of a bounce may say Undeliverable, Delivery Status Notification, Message delayed, or something similar. Open the notice in the account that submitted the original. If you have a separate alias or delegated sender, look in the mailbox that handled the send. Delivery reports follow the mail system's return address, which can differ from the display name, visible From and Reply-To fields.
In the report locate the original subject and time, the failed recipient, the reply code and any additional diagnostic. A report for one email can cover several recipients and list a different outcome for each. Take the code from the same section as the relevant address. A short subject such as Invoice may match several recent sends, so use the time and recipient details to identify the correct attempt.
A common diagnostic has two codes. In the sample 550 5.1.1 Recipient address rejected, 550 is the basic SMTP response. 5.1.1 is an enhanced status code. The text makes the provider's interpretation more specific. A different report can use the same 550 response with a policy code such as 5.7.1, which leads to a different next step.
If you get an error directly in the compose window or Outbox, the app may have failed at submission without a separate bounce email. The report stage matters. A login error from your outgoing server is an account configuration problem. A recipient-domain rejection after that server accepted the message is a delivery result from a later part of the route. Use the source and timestamp to see which service returned the response.
Read the class, subject and detail in an enhanced code
An enhanced code has three numeric parts. In 5.1.1, the first number gives the class. It says whether the outcome is a success, a temporary problem or a permanent failure for that attempt. The middle number identifies the subject, such as addressing, mailbox storage, routing or policy. The last part narrows the condition within that family.
In 4.2.2, 4 describes a transient failure, 2 is the mailbox family, and the final 2 is the mailbox-full condition. The class tells the sending system whether retrying later may help. The family makes clear that the problem concerns the destination mailbox. Ask the recipient to check storage or provide an approved address if the notice says their mailbox is full and the message cannot wait.
A code's broad meaning is useful even when the diagnostic is short. The 5.3.4 code describes a message too big for the relevant mail system. A 5.7.1 is about authorisation or policy and covers a much broader range of conditions. The provider's accompanying words supply the clue you need. A restricted mailing list and a domain-authentication problem can both return class 5 policy errors, while requiring different people and settings to resolve them.
| Sample diagnostic | What it usually points to | First action |
|---|---|---|
| 421 4.3.0 temporary service problem | Mail system temporarily unavailable | Check whether the sending system will retry |
| 450 4.2.1 mailbox temporarily unavailable | Recipient mailbox condition or provider rate rule | Read the text and check the delay or retry status |
| 452 4.2.2 recipient mailbox full | The destination needs space | Contact the recipient if timing matters |
| 550 5.1.1 destination mailbox unknown | The address may be mistyped, retired or missing | Confirm the complete address from a trusted source |
| 552 5.3.4 message size exceeds a fixed limit | An applicable whole-message limit | Reduce the message or use an approved transfer |
| 550 5.7.1 delivery disallowed | A sender, recipient or message policy | Read the provider's full diagnostic before editing |
Code use varies across services. For example, a provider can return a permanent mailbox-full failure or a temporary one. Use the exact class and action recorded in your notice. A single basic code, without the accompanying diagnostic, can rarely identify the rule you need to change.
A 4xx response and a delayed message
A mail server can defer a message if it is temporarily overloaded, has trouble reaching a destination, or is enforcing a rate limit. The sending server may queue the message and try again. While it is doing that, a delay notice can arrive in your inbox. Check for wording about continued attempts or a retry deadline.
For example, a notice might say Action: delayed, Status: 4.4.1 and identify the destination as temporarily unreachable. The sending system still owns the queued message if it says it will retry. Sending a fresh copy while that attempt is active creates two separate submissions. If the destination recovers, both can arrive. For urgent mail, use an agreed alternate channel to contact the recipient, and keep track of the pending email.
If the notice instead says Action: failed, the attempt ended. It may still give a 4.x.x reason because the underlying condition was temporary and persisted beyond the queue's retry period. The two lines describe different things. The status explains the problem, and the action records whether that particular message still has an active delivery attempt.
Ask which system is retrying. A receiving server can issue an immediate 4xx response during transfer. If your provider already accepted the message from the app, its server can handle the later retry. If the initial SMTP submission itself received a temporary rejection, the desktop app or sending application may need to hold and retry that item. Check the Outbox and any delivery notice to see where it is. The Outbox guide covers that distinction from the desktop side.
If you administer a mailbox used by a team, avoid making many manual resends after a shared service returns temporary errors. Identify the first failure time, the destination domains and which route handled the mail. A provider can check its queues and retry history. A few clearly identified test messages are much easier to trace than multiple copies of every failed email.
A 5xx response and a rejected message
A permanent failure means resending the same message through the same route under the same conditions is unlikely to fix the problem. Use the diagnostic to determine what would need to change. The address might need correction, the attachment might need a different delivery route, or a mail administrator might need to fix a sending permission. A 5xx result describes that attempt under its existing conditions. It doesn't mean the recipient can never receive email again.
For 5.1.1, check the local part before the @ and the domain after it. A recently changed company address and a saved contact with a typo can look the same in the compose field. Confirm an updated address through the organisation's official contact page or an established conversation. If the email contains sensitive information, verify the recipient before sending it to a similar-looking address.
For 5.3.4 or a diagnostic that explicitly mentions size, look for the smallest limit along the route and the full message size, including MIME encoding. A PDF that weighs 19 MB on disk can exceed a 25 MB whole-message ceiling after Base64 encoding. Remove redundant files or use an approved upload link if it suits the recipient's process. If the destination says the mailbox is full, clarify that constraint separately. A tiny email can also fail to a full mailbox.
For a policy failure, read what the provider names. If it says a group only accepts mail from its members, ask the group owner about a permitted sender or submission channel. If it says the sending address is unauthorised, verify your account's allowed From identities. If it cites domain authentication, give the diagnostic to the person who manages the domain and service. A desktop app changing its port cannot add a missing sending permission.
Some policies describe transport requirements, such as TLS or a particular gateway rule. Those errors can involve your outgoing provider's connection to the destination, where your desktop settings do not directly apply. Find the host that reported the rule and whether it occurred during submission or server-to-server delivery. Your own provider is a practical first support contact when the reporting server is your outgoing service and the policy explanation is unclear.
Separate a sign-in error from a domain authentication failure
SMTP 535 during your app's outgoing sign-in refers to the submission server's ability to authenticate your account. Check the account identity, supported authentication method and any recently revoked app access. If the same user can send in the browser, the provider still may require a different authorisation process from the desktop app. A successful submission test with a new short email can confirm the credential or authorisation repair.
A later Gmail bounce with 550 5.7.26 can refer to authentication of the sending domain or message. Gmail uses this code for several conditions, including an SPF or DKIM check that didn't pass, or a DMARC policy refusal. This result can occur after the sending app already logged in successfully. Capture the complete text and hand it to the domain administrator or sending service that can inspect the configuration. Include whether the failure is specific to an alias, forwarding route or application.
For example, messages from the mailbox provider might reach the recipient, while a project notification service using the same From domain triggers a domain-authentication diagnostic. Share one failed time and sender identity with the operator of that service and the person responsible for the domain. Comparing the two authorised routes gives them more evidence than changing the password on the mailbox that already works.
Put the DSN fields together
A structured delivery status notification can include fields such as Reporting-MTA, Final-Recipient, Action, Status, Remote-MTA and Diagnostic-Code. Many mail apps show a summary first and put the technical information further down or inside an attached report. Use the human-readable summary to locate your message, then use the fields to determine what happened.
Final-Recipient identifies the address associated with that result. It can differ from the original address when forwarding or expansion changed the destination. Reporting-MTA identifies the mail system generating the report. Remote-MTA, when present, identifies a remote system involved in that result. Diagnostic-Code preserves additional error details such as the remote SMTP response.
Here's a simplified example for one envelope recipient. The addresses and hosts are reserved examples.
| DSN field | Example |
|---|---|
| Reporting-MTA | dns; outbound.example.com |
| Final-Recipient | rfc822; billing@example.net |
| Action | failed |
| Status | 5.1.1 |
| Remote-MTA | dns; inbound.example.net |
| Diagnostic-Code | smtp; 550 5.1.1 Unknown recipient |
This example says the delivery system reported a failed attempt for billing@example.net and gives a remote diagnostic about that address. If a second colleague received the original, there is no reason to resend to that colleague while you confirm billing's address. If the intended destination was a group alias, ask its owner whether the report applies to the group itself or a member address downstream.
The standardized action can also be delivered, relayed or expanded. Those are transport or processing outcomes. They don't tell you the recipient read a message. A relay confirmation can mean the item was passed to a service that won't return further delivery detail, while expansion describes a move from one address to multiple destinations. Use a recipient confirmation when the question is whether someone has seen or acted on the message.
Look for earlier diagnostics in an expired attempt
A final delivery report can describe queue expiry as X.4.7, where the first digit depends on what the report says. Search the details for earlier timeouts, name resolution failures or rejection text from the destination. “Delivery time expired” gives a reason the queue stopped. The earlier diagnostic can identify what kept the message from arriving while it was queued.
If your report lists attempts over several days, look at when the destination first failed and when the last retry happened. Ask the provider whether its trace records the remote response on those attempts. The destination might have recovered after the original attempt expired. Confirm with the relevant administrator or send one small, separately identified test before reissuing a large or important message to that destination.
Check pattern and scope before changing settings
If every recipient at one organisation fails with the same code but other domains work, record the organisation, times and exact text. The remote administrator may be able to identify a domain-specific policy. If all domains fail from one account, including an address you control, inspect that account's submission method, verified sender identity and outbound service status. A direct app error and a later remote bounce need different evidence.
If just one old contact fails, compare a recently confirmed address. If all addresses in a project group fail, check whether the group moved or whether it accepts external senders. If delivery fails only when you attach high-resolution files, compare a plain test with the original envelope and file. An observed difference is more useful than a list of unrelated fixes you've already tried.
Work through a mixed result by recipient. Imagine a message sent to lead@example.com, orders@example.net and finance@example.org. The first gets the mail. The report says orders is delayed with 4.2.2 and finance failed with 5.1.1. Contact orders if the timeline matters and avoid submitting another copy while the server retries. Confirm finance's address and send an appropriately addressed follow-up to the corrected mailbox. The lead already has the message.
Use a new subject for a controlled test so you can see which event appears in a provider trace. Include only information needed for the test. If an admin asks you to reproduce a bounce caused by a specific document, ask whether a harmless equivalent of the same size and type will be enough. Treat customer addresses, Message-IDs and mail system details as support data to share with authorised people.
Verify reports that don't match anything you sent
A true non-delivery report can quote the email or include its headers. A fraudulent email can imitate that format, and a mail system can send a report to your address if it was used as the envelope return address on a message you did not submit. Check your recent sending activity and the account's security history through the provider's known login page. Avoid using an unexpected report's sign-in prompt or attachment as your way into your account.
If you recognise the destination and approximate time but the notice requests a password, verify the delivery state with your provider directly. A normal code can be interpreted without entering account credentials in a message. If logs show a real outbound send you didn't authorise, use the provider's account recovery and security process. If the service confirms no matching outbound attempt, provide the notice privately for investigation if unwanted reports keep arriving.
When sending a diagnostic to support, use the minimal private evidence it needs. Give the time and time zone, sending account type, the code and error text, which service reported it, affected address or domain, and whether another recipient received the message. A message trace identifier can help when support requests it. Keep the original available until the provider has enough information to find the attempt.
Decide when a new send makes sense
Wait while the provider is still retrying unless the recipient needs an alternate route immediately. If a permanent rejection is linked to a missing mailbox, verify the corrected address before releasing a new copy. If the issue is a policy that changed, have the responsible team confirm the change before sending the original content again. If the problem was a file limit, review the revised message and access permissions before you use a link or smaller copy.
After a correction, send one small new test or one corrected message to the affected address, depending on what is appropriate. Check the destination or ask for confirmation when the result matters. Keep the earlier report with the records of that attempt and note which recipients needed a replacement. That makes it possible to match a late notice to the correct message and avoids copying the rest of the distribution again.
For example, an office changes its intake address and a 5.1.1 bounce follows your first report of the month. Confirm the new address with someone who owns the process, check whether the original report had other recipients, then update the saved contact or any template that still points to the old one. Send the report to the corrected address and keep its confirmation with that month's records. Repairing the underlying address entry helps the next report too.
Sources
- IETF RFC 5321, SMTP reply codes and retry behaviour
- IETF RFC 3463, enhanced mail system status codes
- IETF RFC 3464, delivery status notification format
- IETF RFC 4954, the SMTP authentication extension
- IANA registry of SMTP enhanced status codes
- Google Workspace, Gmail SMTP errors and codes
- Microsoft, delivery status and non-delivery reports in Exchange Server