15
Implementation (contd..)
The session is now established and the client now can
send message.
The MAIL Command
•Client starts with MAIL command to send a mail
message-
Ex: MAIL FROM:<
[email protected]><CRLF>
Here client assigns the FROM address. Lets assume that
we do accept this from address and send OK.
250 OK<CRLF>
•It is possible to send invalid parameter response (501)
from server if, for example, from address format is not
valid.
501 Syntax error in parameters or arguments <CRLF>