- 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
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â […]
How to install .bin File in Linux
- govath
- June 24, 2007
- 0
This type of files you can install the by using CHMOD command to convert it to executable: chmod +x file.bin And then run the file […]