Harrington Web

Sending and email using Telnet

Monday, August 18, 2014
Open up Telnet
telnet smtp.yourdomain.com 25

If you need SSL do this instead
openssl s_client -connect smtp.yourdomain.com:465

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.



auth login
334 VXNlcm5hbWU6
username
334 UGFzc3dvcmQ6
password

Now compose your email.
mail from: <[email protected]>
rcpt to: <[email protected]>
data
Type in your email 
.

No comments :

Post a Comment