- 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
XAMPP for Linux
- govath
- October 22, 2007
- 0
By the way this software was called LAMPP but to avoid misreading we renamed it to <<XAMPP for Linux>>. So if you are seeking for […]
Sendmail Linux Examples
- govath
- September 20, 2011
- 0
Sendmail on the command line: $ sendmail emailaddress write body of message CTRL-D The CTRL-D is a end of message code for standard-in. Example : […]
How to restrict su command root in linux
- govath
- August 26, 2007
- 0
(Not Recommended for some reasons) Open a console or terminal and type : /bin/su Remember the current file mode bits and restrictions for su binary: […]