PerfectMail™ Antispam/Antivirus is a simple, accurate, and easy to use solution! FOLLOW US :
Toll Free: +1 888-451-3131
+1 905-451-9488

Monday, November 19, 2012, 15:45

The SMTP Test Tool

Category: General

Solution ID: 00000166


How to test/diagnose SMTP mail connections using the SMTP Test Tool.


The SMTP Test Tool is used to diagnose an SMTP protocol connection between your PerfectMail™ server and another mail server. SMTP (S M T P) stands for Simple Mail Transfer Protocol. It is the protocol for sending e-mail messages between servers.

The information used to test the SMTP protocol are similar to what you would use for sending an e-mail. In fact the tool will actually send an e-mail to the recipient you choose. The important thing to note is that you must specify the IP address of the mail server you want to connect to. During the process of sending this e-mail the actual SMTP commands used during communication will be displayed.

Options for using this tool are as follows:

Click the "Send" button to run the test. The actual SMTP commands will be displayed in the output box. Data sent from your PerfectMail server to the specified mail host will be prefaced with ">>", data received from the specified mail host will be prefaced with "<<".

Each line sent from your PerfectMail server will be responded to with a three digit return value:


[+] Connected to 25
<< 220 ESMTP Sendmail 8.14.2/8.14.2; Mon, 19 Nov 2012 12:28:20 -0500
>> HELO localhost.localdomain
<< 250 Hello remotehost.localdomain [], pleased to meet you
>> MAIL FROM: <>
<< 250 2.1.0 <>... Sender ok
>> RCPT TO: <>
<< 250 2.1.5 <>... Recipient ok
<< 354 Enter mail, end with "." on a line by itself
>> To: <>
Subject: Testing connection
Date: Mon, 19 Nov 2012 12:28:22 -0500
X-Mailer: PerfectMail

>> Testing the SMTP connection.
>> .
<< 250 2.0.0 qAJHSKTL017642 Message accepted for delivery
[-] Closed connection

Tags: server, host, smtp, e-mail, mail, test, diagnostics, telnet, connectivity

See Also:

Link to this article: kb/smtp_test_tool

Updated: Monday, November 19, 2012, 15:45

-- David Rutherford


1. HcPcEgmp, Saturday, December 12, 2020, 13:48:

-1; waitfor delay '0:0:12' --

2. HcPcEgmp, Saturday, December 12, 2020, 13:50:



Last modified: 2012-11-19, 16:13

© 1999-2013 PerfectMail