Send Mail Via Telnet

Send Mail Via Telnet

Here I will show you how simple it is to send email via Telnet. For those who are new to telnet client can get to know how to setup client and server connection and fires command. Let’s first open the command prompt. To send email we will use SMTP address and port number 25.

Below are the SMTP commands for sending email.

From Mail: 

Character . is used to terminate the email.

Let’s get SMTP address of recipient to whom we would like to send mail.

GET SMTP Address or MX Record using nslookup

MX Record is known as Mail Exchange Record. It gives you SMTP address associated with domain name.


Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Administrator>nslookup -query=MX

Non-authoritative answer: MX preference = 0, mail exchanger = nameserver = nameserver =    internet address =  internet address =  AAAA IPv6 address = 2400:cb00:2049:1::adf5:3b8b  internet address =  AAAA IPv6 address = 2400:cb00:2049:1::adf5:3a90

C:\Documents and Settings\Administrator>

Telnet SMTP Send mail

Using Telnet command you can actually see the status of the SMTP server. You get to know if it’s down or up.

C:\Documents and Settings\Administrator>telnet 25
Mail from: 250 2.0.0 OK
RCPT TO: ymfziqhs@sharklasers.com250 Accepted
DATA: test
354 Enter message, ending with "." on a line by itself
.250 OK : queued as 81417efbf3622d9ba1ce7e0468054865

Send email video


How To

Send Mail Via TelnetC# send email using System.Net SMTP ClientHow to read Gmail in Yahoo mailYahoo email settingsTemporary disposable emailC-Send-emailCheck Email AddressSend read email hotmailCreate contact us formread gmail


My name is Satalaj, but people call me Sat. Here is my homepage: . I live in Pune, PN and work as a Software Engineer. I'm former MVP in year 2010.
Disclaimer: Views or opinion expressed here are my personal research and it has nothing to do with my employer. You are free to use the code, ideas/hints in your projects. However, you should not copy and paste my original content to other web sites. Feel free to copy or extend the code.
If you want to fight with me, this website is not for you.

I'm Satalaj.