[Important note to readers: before trying any of the tips or tools listed on this website, make sure you have a full backup of all data on your computer. These tips have all been tested, but there's always a chance that you'll lose data in the process, so be safe and backup!]

Sending smtp mail via telnet (posted: 9-27-04 10:13 PM)

Sometimes sending an email message using a telnet command line interface can be a handy troubleshooting tool. You can verify that a server's SMTP service is functioning, test to see if a server allows mail relay, and sometimes even see the server software and version number. Here are the commands to do it [hit the "Enter" key after each command to get a prompt for the next one] :

telnet smtp_server_name 25

helo smtp_server_name

mail from: me@mydomain.com

rcpt to: you@yourdomain.com

data

type_your_email_message_body_here

(When you finish typing your e-mail message above, press [ENTER], then a '.', and then press [ENTER] again.)

quit




Was this tip helpful?

[Go back to tips & tools list]
Apple Consultants Network