TITLE : Using telnet to send mail via an SMTP server. OS LEVEL : None DATE : 07/06/2000 VERSION : 1.0 ---------------------------------------------------------------------------- 1, Telnet to the smtp server on port 25 : telnet smto.server.name 25 You should get a greeting message beginning with 220 2, Type :- helo (and press return) (you may need to give a domain name eg helo silly-walk.org) The server should reply "250 OK" 3, Tell the server who the email is from :- mail from: john.cleese@silly-walk.org The server should reply "250 OK" 4, Tell the server who the mail is going to :- rcpt to: freddy@network.net The server should reply "250 OK" 5, Type :- data (and press return) The server will reply with something simular to "354 Send data. End with CRLF.CRLF" 6, Type in the mail message, end the message with Enter . Enter The server should reply "250 OK" 7, Type :- quit (and press return) ---------------------------------------------------------------------------- EXAMPLE : --------- john@homer(/home/john)>telnet nt-maple 25 Trying... Connected to nt-maple. Escape character is '^]'. 220 nt_maple.sphinxcst.co.uk ESMTP Server (Microsoft Exchange Internet Mail Service 5.5.2650.21) ready HELO 250 OK mail from: john.cleese@silly-walk.org 250 OK - mail from rcpt to: freddy@network.net 250 OK - Recipient data 354 Send data. End with CRLF.CRLF subject : Silly Walks Hi, Please email me all you silly walking data Cheers john . 250 OK quit 221 closing connection Connection closed. john@homer(/home/john)>