- Open your terminal.
- Now, connect with telnet using the following command:
telnet smtp.domain.com 25 - Type ehlo example.com. Some servers also accept helo in place of ehlo.
ehlo - Type mail from: username@example.com:
mail from: username@domain.com - Type rcpt to: user@hotmail.com, user2@yahoo.com (replace with your actual recipient name):
rcpt to: user@hotmail.com, user@yahoo.com - To write the message – type data, followed by your subject and message. To end the message, put a period on a line by itself and press enter:
data Subject: My Telnet Test Email Hello, This is an email sent by using the telnet command. Your friend, Me . - Type quit to exit telnet.
Related Posts
Kill and Logout Users From linux
- govath
- September 14, 2011
- 0
Open a terminal, and then type the following commands. Login as root su – or sudo su – and entering the root password. Type the […]
Ubuntu Web Control Panel – Ajenti
- govath
- July 29, 2014
- 0
Login to your server as root and run the below commands aptitude update Add the Key and Ajenti Repository wget http://repo.ajenti.org/debian/key -O- | apt-key add […]
Disable screen going blank ubuntu server / Network timeout
- govath
- December 7, 2011
- 0
Using setterm command. man setterm : writes to standard output a character string that will invoke the specified terminal capabilities. Where possible terminfo is conâ […]