Understanding Smtp Error Messages

  • Uploaded by: GY
  • 0
  • 0
  • October 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Understanding Smtp Error Messages as PDF for free.

More details

  • Words: 781
  • Pages: 2
Understanding SMTP Error Messages By Heinz Tschabitscher

Way too often, error messages are but mystic numbers forming some kind of incomprehensible code. This page wants to be your guide to the code mail servers produce when you try to send mail, but it doesn't work. "Could not send your message. Error 421." This was all the email client showed her. This, and a mere button waiting for the mouse click of relief that would make even the sparse message go away: OK. No, it is not OK. It is not okay to leave the user with a mystic code that tells nothing about whose fault it was that the message could not be sent, which error exactly occurred, and, in particular, what can be done to resolve the problem. It is not okay, but only too often it happens. What if all a physician said was: "we have to do a hypopharyngoscopy"? What's your next step? You consult somebody who you think knows, a clinical dictionary or the web. This page wants to be your dictionary for (E)SMTP (the protocol used to send emails) server response codes. The Meaning of the Numbers A mail server will reply to every request a client (such as your email program) makes with a return code. This code consists of three numbers. The first generally tells whether the server accepted the command and if it could handle it. The five possible values are: * 1: The server has accepted the command, but does not yet take action. A confirmation message is required. Currently, this is not used. * 2: The server has completed the task successfully. * 3: The server has understood the request, but requires further information to complete it. * 4: The server has encountered a temporary failure. If the command is repeated without any change, it might be completed. Mail servers can use such temporary failures to keep untrusted senders at bay. * 5: The server has encountered an error. The second number gives more information. Its six possible values are: * 0: A syntax error has occurred. * 1: Indicates a informational reply, for example to a HELP request. * 2: Refers to the connection status. * 3 and 4 are unspecified. * 5: Refers to the status of the mail system as a whole and the mail server in particular.

The last number is even more specific and shows more graduations of the mail transfer status. This leads us to the detailed list of ESMTP server response codes, as laid down in RFC 821 and later extensions. * 211 - A system status message. * 214 - A help message for a human reader follows. * 220 - SMTP Service ready. * 221 - Service closing. * 250 - Requested action taken and completed. The best message of them all. * 251 - The recipient is not local to the server, but the server will accept and forward the message. * 252 - The recipient cannot be VRFYed, but the server accepts the message and attempts delivery. * 354 - Start message input and end with .. This indicates that the server is ready to accept the message itself (after you have told it who it is from and where you want to to go). * 421 - The service is not available and the connection will be closed. * 450 - The requested command failed because the user's mailbox was unavailable (for example because it was locked). Try again later. * 451 - The command has been aborted due to a server error. Not your fault. Maybe let the admin know. * 452 - The command has been aborted because the server has insufficient system storage. The following error messages (500-504) usually tell you that your email client is broken. It's probably best to let the program's author know. * * * * *

500 501 502 503 504

- The server could not recognize the command due to a syntax error. - A syntax error was encountered in command arguments. - This command is not implemented. - The server has encountered a bad sequence of commands. - A command parameter is not implemented.

* 550 - The requested command failed because the user's mailbox was unavailable (for example because it was not found, or because the command was rejected for policy reasons). * 551 - The recipient is not local to the server. The server then gives a forward address to try. * 552 - The action was aborted due to exceeded storage allocation. * 553 - The command was aborted because the mailbox name is invalid. * 554 - The transaction failed. Blame it on the weather.

Related Documents

Error Messages
October 2019 35
Oracle Error Messages
April 2020 13
Ie Error Messages
October 2019 17
22_database Error Messages
November 2019 18
A58312 - Error Messages
August 2019 31

More Documents from ""

Syllabus+big+data.pdf
October 2019 21
Part A Unit 2.pdf
October 2019 8
Baumgartner (2014).pdf
October 2019 12