- 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
Add proxy in YUM and APT-GET
- govath
- August 1, 2008
- 0
Login as root nano /etc/yum.conf Add the proxy add the bottom of the text like: proxy = http://proxy.domain.com:port —————————————————————- nano /etc/apt/apt.conf Acquire::http::Proxy “http://MYDOMAINMYNAME:MYPASS@MY.PROXY.COM:MYPORT”
How to search or find within a file in linux
- govath
- September 1, 2011
- 0
type the below command and change the below criteria to suite to your search : find /ENTER/PATH -type f -print0 | xargs -0 grep -i […]
DD – clone disk
- govath
- December 11, 2008
- 0
The most old fashion way to ghost-clone disks 🙂 DD user : cat /proc/partitions    to check your partitions Remount (Write permission) if ur using usb […]