Posted On March 31, 2019

SMTP Testing Commands How to test SMTP operations using Telnet

kimconnect 0 comments
blog.KimConnect.com >> Windows >> SMTP Testing Commands How to test SMTP operations using Telnet
SMTP Testing Commands 
How to test SMTP operations using Telnet

1. Telnet into Exchange server hosting IMS service using TCP port 25.
Command is telnet <servername> 25

2. Turn on local echo on your telnet client so that you can see what you are typing.
On Win 9x and NT 3.5/4.0 Telnet client this done by selecting the "preferences" from the "terminal" pull down menu, and checking the local echo radio button. For Windows 2000 telnet client, issue command "set local_echo", from the telnet command prompt.
3. Issue the following smtp command sequence

helo <your domain name><enter>
response should be as follows
250 OK

mail from: <your Email Address><enter>
response should be as follows
250 OK - mail from <your Email address>

rcpt to: <recipient address><enter>
response should be as follows
250 OK - Recipient <recipient address>

data<enter>
response should be as follows
354 Send data. End with CRLF.CRLF

To: <recipient's display name><enter>
From: <your display name><enter>
Subject: <Subject field of Email message><enter>
<Enter you body text><enter><enter> . <enter>
response should be as follows
250 OK
quit<enter>

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

SonicWall Configuration for Asterisk

How to configure Sonicwall to enable traffic toward a on-premise VoIP server without VLAN  …

Function to Install Application and Its PowerShell Wrapper

# This function checks on whether a particular app has a corresponding PowerShell wrapper. If…

Quick and Dirty Script to Watch and Start / Restart Windows Service

// powershell.exe// -ExecutionPolicy Bypass c:\scripts\serviceCheck.ps1$serviceName = '[input-service-name-here]'$arrService = Get-Service -Name $serviceNamewhile ($arrService.Status -ne 'Running'){ Start-Service…
Other project: DragonCoin.com