Type set localecho and then press ENTER. This optional command lets you view the characters as you type them. This setting may be required for some SMTP servers.
Type set logfile
Type open mail.clientdomain.com 25 and then press ENTER.
Type EHLO computersupportforce.com and then press ENTER.
Type MAIL FROM:james@computersupportforce.com and then press ENTER.
Type RCPT TO:user@domain.com
Type DATA and then press ENTER. You will receive a response that resembles the following:
354 Start mail input; end with
Type Subject: Test from Contoso and then press ENTER.
Press ENTER. RFC 2822 requires a blank line between the Subject: header field and the message body.
Type This is a test message and then press ENTER.
Press ENTER, type a period ( . ) and then press ENTER. You will receive a response that resembles the following:
250 2.6.0
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
To close the Telnet session, type quit and then press ENTER.