...
The Telnet test is used to check connectivity and communication between the SMTP server and the network The steps performed in the Telnet test mimic what the device does when the Email app is used If any step fails, that is the failure point and needs to be corrected in the setup This solution requires knowledge of your network and SMTP setup If necessary, contact your System Administrator for additional assistance. Xerox is not responsible for your SMTP configuration. The steps will vary based on the Operating System used Follow the instructions for the required Operating System (OS). Perform a Telnet Test Using a Microsoft Windows OS : NOTE : When the Telnet session is established with the SMTP server, the backspace is interpreted as a character If there is a typo and the backspace key is used, an error may result Carefully retype the command so that no errors are made. To open a Telnet session with the SMTP (mail) server : To complete the session and produce an e-mail : NOTE : The following steps emulate what the printer does when it sends a Scan to E-mail to your mail server If an error is displayed, you will be able to see where it is happening Error examples include: unable to connect to the SMTP server, the SMTP server returns a message that it will not accept mail from this sender, or that it requires authentication. telnet set local_echo (Windows 2000 only) open 192.168.0.1 25 220 ESMTP Mail Service ehlo xerox.com 250 Hello xerox.com 250-TURN 250-ETRN 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-8bitmime 250-BINARYMIME 250-CHUNKING 250-VRFY 250 OK mail from: 250 sender OK rcpt to: 250 other_user@xerox.com data 354 Start mail input; end with . subject:Test This is a test This is only a test. . 250 Queued mail for deliver quit Connection closed by foreign host Perform a Telnet Test Using an Apple Macintosh OS 10.x : NOTE : This solution requires the SMTP servers connection information This information would be the IP Address or DNS Host name of the Mail server, the Port number used to connect, as well as an Email account on the server Also note that if any encryption or SMTP authentication is used on the server, the steps may not work entirely, but can be used to verify connectivity and online status of the mail server. NOTE : Telnet support has been removed from Mac OS 10.13 High Sierra and later releases. From the computer, open a command prompt. Click on Start and then select Run The Run window will be displayed. Type CMD or command in the field provided, and then click on OK A DOS window will be displayed. Type the word telnet at the prompt, and then press Enter on the keyboard. For Windows 2000, type set local_echo and then press Enter For Windows XP, type set localecho and then press Enter A 'local echo on' message will be displayed. Type: open XXX.XXX.XXX.XXX 25 (where x represents the IP address of the SMTP server), and then press Enter on the keyboard If connection to the SMTP server is successful, you will receive a reply similar to '220 ESMTP Server'. Type: ehlo then the domain name and then press Enter. For example, ehlo xerox.com If the SMTP server returns an error regarding ehlo, type: helo then domain name and then press Enter For example, helo xerox.com A Telnet session will be opened with the SMTP server Follow the steps below to complete the session and produce an e-mail Your e-mail names and addresses should match your local network. From within a Telnet session, type: mail from: followed by the e-mail address of the recipient (without a space), and then press Enter on the keyboard For example: mail from: The reply '250 sender OK' will be displayed. Type: rcpt to: followed by the e-mail address of recipient, and then press Enter For example, rcpt to: The reply '250 OK - Recipient other_user@xerox.com' will be displayed. Type: data , and then press Enter The reply '354 Send data End with CRLF.CRLF' will be displayed. Type: subject:Test , and then press Enter . Enter text for the body of the message, and then press Enter For example: This is a test This is only a test. End the session by typing a single period (dot) on a line, and then press Enter The reply '250 OK' will be displayed. Type: quit and then press Enter to close the session NOTE : The following is an example telnet session with an SMTP server that successfully sent an e-mail The bold lines are what you type Press the Enter button at the end of all bold lines The lines that are not bold are the replies from the server The replies from your server will vary slightly. Open Finder . Select Applications . Select Utilities . Select Terminal NOTE : Type the following commands carefully as the backspace key is interpreted as a character by the Telnet Client software. Type Telnet and press the Return key For example: Telnet smtp.gmail.com 25 NOTE : If connection to the SMTP server is successful, you will receive a reply similar to '220 ESMTP Server'. Type elho and press Enter For example: ehlo gmail.com. Use the command helo instead, if the server returns an error with the ehlo command NOTE : The server may require a username and password if SMTP authentication is enabled In most cases, the email address is the username, and password is the password of the email account on the mail server. Type mail from: and press Enter NOTE : A response similar to 250 Sender OK means the command was successful. Type rcpt to: and press Enter NOTE : A response similar to 250 OK - Recipient means the command was successful Type data and press Enter NOTE : A response similar to 354 Send Data means the command was successful. Type subject: and press Enter For example: subject:Test. Enter the message text for the Email to be sent. Type a single period (.) on a blank line followed by pressing Enter to end the message For example: NOTE : A response similar to 250 Queued mail for deliver means the command was successful Type quit and press Enter to disconnect from the Mail Server.