Sunday, December 29, 2024

Howto send an email using telnet

Abstract: When troubleshooting email issues, it may be useful to send emails from your server directly over the Microsoft Exchange Server using the telnet application. This guide shows some basic steps to send an email from your server.

Preparation:

– Install the telnet client (not the telnet server) on the affected Windows OS.

Via the following steps you can send an email over the MS Exchange Server exmail01.int.contoso.com:

1.) Open a CMD (an command prompt)

2.) Now connect to our MS Exchange server exmail01.int.contoso.com via port 25

telnet exmail01.int.contoso.com 25

3.) After you got a connection to the MS Exchange Server type

ehlo currentserver.int.contoso.com

if that didn´t work use

helo currentserver.int.contoso.com

and press enter

4.) enter the from email address you wish to use in the format:

mail from: username@example.com

Then press enter

5.) enter the email address from the persons who should receive the email in the format:

rcpt to: friend@hotmail.com, friend2@yahoo.com

or

rcpt to: friend@hotmail.com

then press enter

6.) To write the message – type data, followed by your subject and message. To end the message, put a period on a line by itself

data
Subject: My Telnet Test Email

Hello,

This is an email sent by using the telnet command
.

Then press enter

7.) Type quite to exit the telnet message

exit

8.) Your email is submitted to the server. If you see any errors during the steps above it might be due to:

– The server you are using currently isn´t allowed to send emails via the MS Exchange environment

– The email addresses aren´t correct

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Stay Connected

35FollowersFollow
- Advertisement -

Latest Articles