- 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
Find Your Public IP Address in Linux
- govath
- February 4, 2022
- 0
Many times you might wonder how to find the public IP of your server using the console. Here below few options
Burn an iso file on Linux
- govath
- August 11, 2008
- 0
Three easy steps to to burn iso files on Ubuntu/Fedora Linux. 1. Download the file. 2.Right click on the file and click on Write to […]
How to reset root Password Ubuntu & Fedora
- govath
- November 6, 2009
- 0
Lost your root password? If you have lost your root password, you can’t really recover it, but you can change it if you have physical […]