This article is published here
Temporary Failures - “If at first you don’t succeed…”
A 400-style message is usually returned when some sort of transient error is encountered during the message transaction. These types of responses are usually not a cause for alarm as most of these will iron themselves out given a little time.
Messages are temporarily deferred because of recipient server policy reasons. Usually because of too many messages or connections in too short a timeframe.
What to do with this response: We’ll continue to retry deferred messages for up to 72 hours for a response like this, but you may consider temporarily easing off the throttle when sending messages to a domain that is returning this code, just so you don’t further delay your messages currently being tried.
The message failed because the user’s mailbox was unavailable, perhaps because it was locked or was not routable at the time.
- 450 4.2.1 The user you are trying to contact is receiving mail too quickly. Please resend your message at a later time. If the user is able to receive mail at that time, your message will be delivered.
- 450 too frequent connects from 22.214.171.124, please try again later. (throttled)
What to do with this response**:We’ll continue to retry deferred messages for up to 72 hours for a response like this. Generally this is based on a large influx of messages that you send, or if you’ve sent at a rate that the recipient server deems worthy of slowing down.
The message simply failed, usually due to a far-end server error. This is unlikely anything you’ve done, remember we’ll keep retrying for 72 hours, so just keep an eye on it.
- 451 mta1012.mail.gq1.yahoo.com Resources temporarily unavailable. Please try again later [#4.16.1].
- 451 Temporary local problem - please try later
What to do with this response: We’ll continue to retry deferred messages for up to 72 hours for a response like this. Just keep your eyes peeled to see if the response to our retry attempts change.
The message has been deferred due to insufficient system storage. Not your fault, they’ll probably accept the mail later on once there’s more space.
- 452 Too many recipients received this hour (throttled)
- 4.3.1 Insufficient system storage (throttled)
- 452 4.2.2 Over Quota
What to do with this response:We’ll continue to retry deferred messages for up to 72 hours for a response like this. Just keep your eyes peeled to see if the response to our retry attempts change.
Hard Failures - “Return to Sender…”
A Hard, or Immediate, failure is anything that gets 500-style message as the result of trying to hand off a message. This typically indicates that some sort of permanent error occurred, this can range from systemic errors on the far-end server that just flat out prevents mail from coming in, all the way to policy-related blocks pertaining to content or other such factors. The examples below will give a taste of some of the myriad reasons a 500-style NDR(non-delivery response) can get returned for.
The user’s mailbox was unavailable. Usually because it could not be found, or because of incoming policy reasons.
- 550 5.1.1 The email account that you tried to reach does not exist. Please try double-checking the recipient’s email address for typos or unnecessary spaces.
- 550 Requested action not taken: mailbox unavailable
- 550 5.1.1 \: Recipient address rejected: aol.com
What to do with this response:It’s probably a good idea to take addresses that throw this response off of your main list, as it’s likely a bogus address or one that was mistyped.
The intended mailbox does not exist on this recipient server. This response will sometimes include a forward address to try if the server knows where the intended mailbox is.
- 551 not our customer
- 551 user does not exist
What to do with this response: Don’t bother re-sending, the recipient server does not recognize the recipient address as being one of it’s own. Keep any eye on the human readable portion of the response, as it may include a forwarding address.
The intended mailbox has exceeded its storage limits.
- 552 5.2.2 This message is larger than the current system limit or the recipient’s mailbox is full. Create a shorter message body or remove attachments and try sending it again.
What to do with this response**: It’s at your discretion if you want to try re-sending, but there’s a pretty good chance that it’s a defunct address. We don’t resend messages with this error code, so refer to the human readable portion for more guidance.
The message was refused because the mailbox name is either malformed or does not exist.
What to do with this response: Don’t retry sending to this address, it’s fairly likely that it’s a bogus or mistyped address.
The message failed. This response is a ‘default’ of sorts, but can be attributed to anything from planetary alignment, tides of the moon or gypsy curses. Generally a very vague NDR, but refer to the human-readable portion of the message for further instruction.
What to do with this response**:Use the human readable portion of the message for further guidance, if you’re not sure what to do, just consider the address “bad” unless the recipient contacts you.
SendGrid will also display a code when the recipient server has responded with a literally blank reason code. Rather than leave you to ponder what a blank field might mean, the below message is displayed instead, letting you know that far end was not able to respond intelligently to our request.
- Delayed Bounce - Unable to Parse Server Reason
What to do with this response**:Your best bet is to contact the mail administrator for the intended recipient’s mail domain to see if they have any more info on what may have happened.