| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
SMTP Replies and Reply Codes (Page 1 of 4) SMTP communication begins with the establishment of an SMTP session between an SMTP sender (the device acting as a client) and an SMTP receiver (the device acting as a server). All protocol operations then consist of plain ASCII text SMTP commands issued by the sender to the receiver. The receiver analyzes each command, carries out the instruction requested by the sender if possible, and then responds back with a reply to the sender. The reply serves several functions: confirming command receipt; indicating if the command was accepted or not; and communicating the result of processing the command. Just as SMTP commands are sent in a manner reminiscent of how FTP internal commands work, SMTP replies are formatted and interpreted in a way almost identical to that of FTP replies. As with FTP, the reply consists not just of a string of reply text, but a combination of reply text and a numerical reply code. And as with FTP, these reply codes use three digits to encode various information about the reply, with each digit having a particular significance. The reply code is really the key part of the reply, with the reply text being merely descriptive.
Home - Table Of Contents - Contact Us The TCP/IP Guide (http://www.TCPIPGuide.com) Version 3.0 - Version Date: September 20, 2005 © Copyright 2001-2005 Charles M. Kozierok. All Rights Reserved. Not responsible for any loss resulting from the use of this site. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||