Test SMTP via telnet

by Doug Rogier on November 5, 2008 · 0 comments

in Catalyst Tech Support,ScanSource Catalyst

In several functions of IP Office and network equipment management, email is sent from an automated process to a recipient via SMTP.  SMTP is a fairly simple protocol that can be emulated via command lines.  Using these command lines, setup information can be verified about the server to which the message is being sent.  The only tool necessary for this test is telnet.  The commands do have to be fairly exact, but are not hard to implement.

In the example the message will be from voicemail@example.com and delivered to user@example.com via mail.example.com. Start off with opening a command prompt or telnet client on the voicemail server.

telnet mail.example.com 25
helo example.com
mail from: voicemail@example.com
rcpt to: user@example.com
data
Subject: Voicemail test
this is a test message from the voicemail.
.
quit

This post was written by

Doug Rogier is a Convergence Specialist at Catalyst Telecom in Greenville, SC. He has over 20 years of experience in communications technologies and is a regular contributor to The Source on technical usage and scenarios.

Learn more about this topic at scansourcecatalyst.com >

Leave a Comment

Previous post:

Next post: