Want to manually send an email to an outside domain from your Exchange 2013?
Destination SMTP server: mail.foo-receive.com
Source domain: foo-send.com
Sender's e-mail address:
This e-mail address is being protected from spambots. You need JavaScript enabled to view it
Recipient's e-mail address:
This e-mail address is being protected from spambots. You need JavaScript enabled to view it
Message subject: Test from foo-send
Message body: This is a test message
click START > RUN
type: cmd
at the command prompt type: telnet
press ENTER.
This command opens the Telnet session.
type: set localecho
This optional command lets you view the characters as you type them. This setting may be required for some SMTP servers.
press ENTER.
Type: set logfile c:\telnetsession.txt
This optional command enables logging of the Telnet session to the specified log file. If you only specify a file name, the location of the log file is the current working directory. If you specify a path and a file name, the path must be local to the computer. Both the path and the file name that you specify must be entered in the Microsoft DOS 8.3 format. The path that you specify must already exist. If you specify a log file that doesn't exist, it will be created for you.
Type: open mail.foo-receive.com 25
press ENTER.
Type EHLO foo-send.com
press ENTER.
Type MAIL FROM: This e-mail address is being protected from spambots. You need JavaScript enabled to view it
press ENTER.
Type RCPT TO: This e-mail address is being protected from spambots. You need JavaScript enabled to view it NOTIFY=success,failure
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.
Type DATA
press ENTER.
You will receive a response that resembles the following:
354 Start mail input; end with <CLRF>.<CLRF>
Type Subject: Test from foo-send
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
press ENTER.
Press ENTER
type a period ( . )
press ENTER.
You will receive a response that resembles the following:
250 2.6.0 <GUID> Queued mail for delivery
To disconnect from the destination SMTP server, type: QUIT
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
press ENTER.