![]() |
SMTP Tutorial | |||||
| Simple Mail Transfer Protocol | ||||||
|
||||||
|
|
An Extensive Look at SMTP Commands The SMTP commands define the mail transfer or the mail system function requested by the user. SMTP commands are character strings terminated by <CRLF>. The command codes themselves are alphabetic characters terminated by <SP> if parameters follow and <CRLF> otherwise. The syntax of mailboxes must conform to receiver site conventions. The SMTP commands are discussed below. The SMTP replies are discussed in the next part. A mail transaction involves several data objects, which are communicated as arguments to different commands. The reverse-path is the argument of the MAIL command, the forward-path is the argument of the RCPT command, and the mail data is the argument of the DATA command. These arguments or data objects must be transmitted and held pending the confirmation communicated by the end of mail data indication, which finalizes the transaction. The model for this is that distinct buffers are provided to hold the types of data objects, that is, there is a reverse-path buffer, a forward-path buffer, and a mail data buffer. Specific commands cause information to be appended to a specific buffer, or cause one or more buffers to be cleared. In the sub section "Basic Commands List" you will find details about all the basic SMTP commands that were defined in RFC 821. There are restrictions on the order in which these commands may be used:
|
|||||