User guide
33
Appendix
VERIFY SMTP SERVER COMMUNICATION
TospecifyaspecicSMTPserver,theusermustprovidetheSMTPserverURLandanallowedsender’semail
address.TheDispatchapplicationwillthenconnectdirectlytotheSMTPserverusingTCPandrelaythemessage
usingtheSMTPprotocol.
To verify communication between the host computer and the remote SMTP server:
1) StartaTelnetsessionbyusingtheTelnetcommandinthefollowing
format:telnet <servername> <portnumber>
Forexample:telnet mail.google.com 25
Ifthecommandiscorrect,theSMTPserversendsthefollowing
response:220 mail.google.com Microsoft Exchange Internet Mail Connector
<version number of the IMC>
2) Startcommunicationbytypingthefollowingcommand:
EHLO google.com
Ifthecommandwassuccessful,thefollowingresponseappears:250
3) EnterthefollowingcommandtotellthereceivingSMTPserverwhothemessageisfrom:MAIL FROM:Admin@test.com
4) TypethefollowingcommandtotellthereceivingSMTPserverwhomthemessageisto.
TypethefollowingcommandwiththeSMTPaddressoftherecipient: RCPT TO: User@Domain.Com
Theserverreturnsthefollowingresponse:
250 – Recipient User@Domain.Com
5) TypethefollowingcommandtotelltheSMTPserverthatdatais
readytosend: DATATheserverresponds:354 Send data. End with
CLRF.CLRF
6) Starttypingthe822/2822sectionofthemessage.Theuserwillseethispartofthemessageintheirinbox.Typethefollowing
commandtoaddasubjectline: Subject: test message
PressENTERtwotimes.Theserverwillnotacknowledgethiscommand.
7) Typethefollowingcommandtoaddmessagebodytext:
This is a test message you will not see a response from this command.
If the following error message appears after entering
any one of the following commands, the SMTP server
does not recognize the command:
500 Command not recognized
Conrm the command is correct and verify that
communication exists with an SMTP server.
Replace the server name with the IP address or the
FQDN of the SMTP server.
Although the HELO command is permitted, the EHLO
verb is supported in all current Microsoft implementations
of SMTP. Unless there is a problem using Extended SMTP
verbs, the EHLO command is recommended.
Responses may vary slightly depending on the
SMTP server version. All versions of the Microsoft
SMTP include the term “Microsoft” in the 220 response.
Always use a valid recipient SMTP address in the
destination. For example, to send a message to john@
domain.com, conrm that john@domain.com exists in
the domain. Otherwise, the server returns an NDR.
The two ENTER commands comply with
Request for Comments (RFC) 822 and 2822. 822
commands must be followed by a blank line.
Microsoft Telnet does not permit the Backspace
key. To correct a mistake, press “Enter”, and then
start a new command. In the following steps,
Telnet runs from the command line. To open a
command line, click “Start”, click “Run”, type
“cmd” in the Open box, then click OK.
This address can be any SMTP address that you want, but it is a good idea to consider the following issues:
a. Some SMTP mail systems lter messages based on the MAIL FROM: address and may block specic IP addresses unless they
recognize the domain where the SMTP mail system resides. In the example, that domain is test.com.
b. If an invalid e-mail address is used, there is no way to determine if the message had a delivery problem, because the non-
delivery report (NDR) cannot reach an invalid IP address. If a valid e-mail address is used, the SMTP server returns the following
response: 250– MAIL FROM Admin@test.com
Press “Enter” after typing each line.