Knowledgebase

How to use telnet to send email?  Print this Article

To send emails using telnet, follow the below steps.

1. In the command prompt, use the code "telnet example.com 25" to connect.
2. Now type the code "ehlo example.com".
3. Type the from and to email addresses using the codes "mail from: username@example.com" and "rcpt to: friend@gmail.com, friend2@gmail.com"
4. Type data along with subject and message to compose the message. To end the message, put a period on a line and then click Enter to send the email. It will look like,

data
Subject: My Telnet Test Email

Hello,

This is an email sent by using the telnet command.

Your friend,
Me

.

Note: when you are done, type quit to exit telnet.

Was this answer helpful?

Also Read

What is SSH?
SSH or Secure Shell is an Unix based command interface which allows you to connect to your server...
How to Use SSH in Putty?
To use SSH in Putty you must have SSH login details and Putty software which you can download for...
What is YUM?
CentOS is an operating system for virtual servers and YUM is a package manager for CentOS.You can...
How to install and use YUM?
YUM is pre-installed on your dedicated virtual server. YUM has many uses, the basis use is...
How to turn off safe mode in Plesk using SSH?
To turn off safe mode globally, follow the below steps. 1. Login to your server via SSH.2. Open...