Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions

  




 

 

SMTP Direct


You can talk directly to an SMTP server, for example to test that it actually works for you. Here's a sample interaction. The commands don't need to be uppercase -- they are here just to make the commands obvious.



$ telnet mailhost.act.togaware.com 25
Trying 105.83.2.11... 
Connected to mailhost.act.togaware.com. 
Escape character is '^]'. 
220 mailhost.act.togaware.com ESMTP Postfix
helo modern.act.togaware.com
250 mailhost.act.togaware.com
mail from: kayon.toga@togaware.com
250 Ok
RCPT TO: graham@togaware.com
250 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
Subject: Testing manually through telnet to mailhost
 
This is the body
. 
250 Ok: queued as 42DDE139919
QUIT
221 Bye
Connection closed by foreign host.

The EHLO localhost command will list the capabilities of the server.


Copyright © 1995-2006 Graham.Williams@togaware.com

 
 
  Published under the terms fo the GNU General Public License Design by Interspire