SMTP Test
Share
I ran across this while working on a different project but thought that it might be handy.
SMTP relay behavior in Windows 2000, Windows XP, and Exchange Server
The basic test:
Start a command prompt.
- Type telnet ServerName 25, where ServerName is the SMTP server name or IP address and 25 is the port number, and then press ENTER.
- Type EHLO, and then press [ENTER].
- At the Telnet session prompt, type RSET. The telnet session responds with text that is similar to the following:
250 2.0.0 Resetting -
Type MAIL FROM:UserName@DomainName.tld, where UserName is the name of the user, DomainName is the name of the domain, and tld is the top level domain such as .com or .net.
The telnet session responds with text that is similar to the following:250 2.1.0 UserName@DomainName.tld….Sender OK
-
Type RCPT TO:RecipientName@DomainName.tld, where RecipientName is the e-mail address of the recipient.
The telnet session responds with text that is similar to the following:550 5.7.1 Unable to relay for RecipientName@ DomainName.tld
Author
Stewart Schatz
More Stories
How to Print a Directory Structure Using PowerShell: Step-by-Step Guide
If you need to print out the directory structure and list the files within, this PowerShell script will help you...
Windows God Mode… What!?!
Windows God Mode is a hidden feature in the Windows operating system that allows users to access all of the system’s control panel options and settings in a single place.
How To Test A SQL Server Connection
There is an easy way to test your SQL Server connection when running Windows without any special software. I found...
4 Lines To Export Outlook Rules To Excel/CSV Using PowerShell
I used to use a ton of Outlook Rules to organize the thousands of emails that I receive each day....
Get The Size & Record Count Of All Tables In A SQL Server Database
Use the SQL query below to display the size and record count of all tables in an SQL Server database....
How To Get AS400/iSeries Job Queue Information Using SQL
I received a request the other day about the JD Edwards EnterpriseOne job queues and what the maximum number of...
Average Rating