Email SMTP error codes Print

  • 0

Code 250

The best mail server response code you can get. When you see this, everything has gone according to plan! This response is what results in a 'Delivered' event within your Sendgrid stats, and indicates that the recipient server has accepted the message.

  • 250 2.0.0 OK 1376056636 i3si9508927obz.16 - gsmtp
  • 250 ok dirdel
  • 250 <> Queued mail for delivery

What to do with this response: Nothing, all is well with the cosmos. If you want, you could always print it out and frame it. Do keep in mind that messages that contain things like "Queued mail for delivery" is still indicative of a successful handoff to the recipient server, but there may still be internal queueing on the far end.   

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. 

Code 421

Messages are temporarily deferred because of recipient server policy reasons. Usually because of too many messages or connections in too short a timeframe.

  • 421 4.7.0 [GL01] Message from (X.X.X.X) temporarily deferred
  • 421 4.7.1 : (DYN:T1) (throttled) 
  • 421 4.7.0 [GL01] Message from (X.X.X.X) temporarily deferred - 4.16.50. Please refer to

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.  

Code 450

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, 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. 

Code 451

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 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.

Code 452

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)
  • 452. 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. 

Code 550

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:

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. 

Code 551

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.  

Code 552

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.  

Code 553

The message was refused because the mailbox name is either malformed or does not exist.

  • 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
  • 553 Invalid/inactive user.

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.

Code 554

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.  

  • 554 5.7.1 - ERROR: Mail refused
  • 554 5.7.1 [P4] Message blocked due to spam content in the message.

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.

Was this answer helpful?

« Back