Sending and email using Telnet

Sending and email using Telnet

Open up Telnet
telnet 25

If you need SSL do this instead
openssl s_client -connect

Tell the server where you are coming from.
ehlo localhost

Login to the server. You will need your username and password converted to Base 64.

Base 64 Encode

auth login
334 VXNl543jfWU6
334 UF64c3dvtmQ6

Now compose your email.

mail from: <>
rcpt to: <>
Type in your email