Saturday, November 17, 2012

How to send an email using telnet

> telnet 25

# handshake

# set from
mail from:

# set to
rcpt to:

# set cc if you want to send the email to multiply receivers
rcpt to:

# email content
# show in the email
from: sender
to: receiver
cc: receiver1; receiver2; ...
subject: hello world
date: 17 Nov 2012
hello world!
# need "." in a separate line to terminate the email content

# quit telnet connecton

No comments:

Post a Comment