Sending mail via telnet

We can send mail via telnet using the following steps.

1. Telnet to hostname on port 25.
220 (then identifies itself – possibly with several lines of 220 + text)

2. HELO your_domain_name or whatever
250 (followed by human readable message)

3. MAIL (ie, your email address)
250 is syntactically correct (or similar)

4. RCPT (email address you want to send to)
250 is syntactically correct

Tells you to send data then CRLF period CRLF at end

6. You type your message then CRLF period CRLF (ie, type a period on a line by itself then hit ENTER)

Signoff message

Mail is sent. That’s it.

  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: