Monday, 1 April 2013

Sending mail using telnet

The first thing to do is to open a connection from your computer to your mail server.

telnet mail.domain.ext 25

You will then need to declare where you are sending the email from:

HELO local.domain.name

Now give your email address:

MAIL FROM: mail@domain.ext

Now give the recipients address:

RCPT TO: mail@otherdomain.ext

To start composing the message issue the command DATA

If you want a subject for your email type Subjectype subject here- then press enter twice

You may now proceed to type the body of your message (e.g. hello mail@otherdomain.ext from mail@domain.ext)

To tell the mail server that you have completed the message enter a single "." on a line on it's own.

You can close the connection by issuing the QUIT command.

No comments:

Post a Comment