1.
Type open mail1.fabrikam.com 25 and then press
ENTER.
2.
Type EHLO contoso.com and then press ENTER.
3.
Type MAIL FROM:chris@contoso.com and then press
ENTER.
4.
Type RCPT TO:kate@fabrikam.com NOTIFY=success,failure
and then press ENTER. The optional NOTIFY command defines the particular
delivery status notification (DSN) messages that the destination SMTP server
must provide to the sender. DSN messages are defined in RFC 1891. In this
case, you are requesting a DSN message for successful or failed message delivery.
5.
Type DATA and then press ENTER. You will receive a
response that resembles the following:
354 Start mail input;
end with <CLRF>.<CLRF>
6.
Type Subject: Test from Contoso and then press
ENTER.
7.
Press ENTER. RFC 2822 requires a blank line between
the Subject: header field and
the message body.
8.
Type This is a test message and then press ENTER.
9.
Press ENTER, type a period ( . ) and then
press ENTER. You will receive a response that resembles the following:
250 2.6.0
<GUID> Queued mail for delivery
10.
To disconnect from the destination SMTP server, type QUIT
and then press ENTER. You will receive a response that resembles the following:
221 2.0.0 Service
closing transmission channel
11.
To close the Telnet session, type quit and then
press ENTER.
No comments:
Post a Comment