The following 5 steps will show how to send Emails using Telnet command using 25 port
Here are simple steps on how to send an email using telnet. This a great way to test your mail server configuration from your local domain server
Step 1: First telnet to yor mail server using 25 port
$telnet 10.110.101.110 25
Step 2: Use HELO command to tell mail server from which domain you are coming from:
HELO local.domain.com
Step 3: Now we need to provide from email address which email will be sent
MAIL FROM:welcome@ramaswamy.com
Step 4: Now specify recipient Email address. If you would like to send a mail to multiple email address, you can use RCPT TO Command multiple times
RCPT TO: ramaswamy.karra@ril.com
Step 5: Now you can write content first SUBJECT AND BODY
DATA
SUBJECT: Test mail using telnet command
Hello,
Here is my body Test mail from my local Server
.
250 2.0.0 Ok: queued as 72BEC2478CF
quit
Note : do not forget (.) at end of the body and then quit.
all the best..!
Step 1: First telnet to yor mail server using 25 port
$telnet 10.110.101.110 25
Step 2: Use HELO command to tell mail server from which domain you are coming from:
HELO local.domain.com
Step 3: Now we need to provide from email address which email will be sent
MAIL FROM:welcome@ramaswamy.com
Step 4: Now specify recipient Email address. If you would like to send a mail to multiple email address, you can use RCPT TO Command multiple times
RCPT TO: ramaswamy.karra@ril.com
Step 5: Now you can write content first SUBJECT AND BODY
DATA
SUBJECT: Test mail using telnet command
Hello,
Here is my body Test mail from my local Server
.
250 2.0.0 Ok: queued as 72BEC2478CF
quit
Note : do not forget (.) at end of the body and then quit.
all the best..!
No comments:
Post a Comment