How to test an SMTP server - Send email from command prompt

How to test an SMTP server - Send email from command prompt


This shows how to test that an SMTP server is working correctly by issuing step by step SMTP commands using the telnet program at the Windows command prompt. This same technique works on Linux and Unix at the terminal command line. Please note that this is for testing purposes only and must NOT be used for sending any unsolicited email messages.

Brought to you by http://www.tekmaster.co.uk.
Closed Caption:

I folks today we're going to test
whether an smtp server is running
correctly you might suspect that your
outbound email is not being sent by your
smtp server and this is a technique used
to actually test whether the services
running correctly
now this is a Windows command prompt you
can run this from any other type of
command prompt as long as your system
has the telnet command then this will
work
so what you do is right here at the
command prompt type telnet space
the address of the smtp server space and
25
this is the port number that the smtp
service runs on the default is port 25
some servers may use a different number
but you'll need to find out to test that
correctly
so we type the command let me hit return
and we get a 220 response which tells me
that everything's fine so far
it's happy to take that and the service
is running and then we have to issue an
HDL command to space and anything after
that
it's not important
that tells me its communicated it's come
back with the 250 response which is an a
working command a working result and
what we do next is we specify who was
sending the test message from to do that
we use the mail from : command space you
must have spaced and that's sigh Billy
at microsoft.com it's usually best to
specify an existing domain name that you
know exists because some some mail
server systems will actually filter out
non-genuine so you could have like Billy
at abcdefg . com
it would it usually would reject it some
mail servers don't but I know for a fact
that mine does
so we return we get the 250 okay that's
fine
and then we're going to say who we are
actually going to send it to
now for my purpose i've set up a demo
email account
so to do this we type ask cpt space to
come on Stace and then . com
return accepted now we're not going to
worry about the subject of the message
we're just going to put something into
the body of the message to do that -
that we type the data command to return
and that just about anything we like
here just about any old thing will
suffice and to submit the message we hit
the . or . and return and we get the 250
ok response which tells us that the
message was accepted commands have been
all accepted a message is okay and it's
been sent
so what you probably want to do here is
quit from that and production back to
prompt and then we'll have a look at
whether the messages got through and
there it is
it's made it through from Billy and
microsoft com
just any old thing will suffice and that
tells me that the service is running
correctly it's handled it is taken the
command and it's sent an email through
so that's all working fine which tells
me my service is ok and then you have it
i will just add that some people have
been known to use this technique to spam
certainly could not condone that here at
Tech master and this is purely for
testing purposes only and we wouldn't
accept anyone doing that on our behalf
so there you go and i hope you find this
useful and i'll see you in the next
video

Video Length: 04:25
Uploaded By: Tekmaster Assist
View Count: 83,948

Related Software Products
SMTP Relay Server
SMTP Relay Server

Published By:
Ixis Ltd

Description:
SMTP Relay Server is a SMTP server program for Windows that lets you convert any Windows based PC into SMTP server. You are allowed to use it either on a dedicated server or on a personal computer in the background. It can be used along with any mailer or email program working on the same computer or on a separate computer connecting to SMTP Relay Server using TCP/IP protocol. Traveling laptop PC users using different Internet Service Providers (ISP) on the go may use SMTP Relay Server as a ...


Related Videos
Microsoft Windows Server 2008 R2 SP1 - Simple Mail Transfer Protocol (SMTP) Server Configuration
Microsoft Windows Server 2008 R2 SP1 - Simple Mail Transfer Protocol (SMTP) Server Configuration

RE-UPLOADED: This video demonstrates installation and configuration of the SMTP Server Service in Windows Server 2008 R2. hr / bClosed Caption:/b hello welcome to the mob speedy what we're going to do today is to install and configure an smtp server let's go to the server manager features and then click on the add features here is the smtp server at the required rural services these are the prerequisites for smtp server click ...
Video Length: 08:34
Uploaded By: Mr. Shuvro
View Count: 190,373

How your email server works
How your email server works

http://www.imacmailer.com This video shows how a standard SMTP server works. It is a detailed video showing what happens when you hit send button on your mail client. hr / bClosed Caption:/b hi in this video I'm going to show you how your email server works it's going to demystify the process behind what's going on when you push the Sun button on your mail client and how your message is delivered to your intended recipientbr ...
Video Length: 13:41
Uploaded By: Kirill Vasilyev
View Count: 186,548

How to setup up SMTP Relay in Exchange Server 2010
How to setup up SMTP Relay in Exchange Server 2010

Once your Exchange 2010 environment setup and configured, you may need to allow 3rd party mail systems or other devices to relay mail off of your Exchange Server. Examples of this would be an application server or maybe something like a copier. In this video I'll show you how to setup a receive connecter that will allow anonymous relay through Exchange Server 2010. For more training visit us online at http://interfacett.com
Video Length: 06:17
Uploaded By: InterfaceTT
View Count: 133,790

Gmail SMTP - Gmail SMTP server settings
Gmail SMTP - Gmail SMTP server settings

This video will show you how to set up your email software to download and send emails in your Gmail account
Video Length: 05:19
Uploaded By: nopain180
View Count: 118,621

How To Install POP3 - SMTP Mail Server - Windows Server 2003
How To Install POP3 - SMTP Mail Server - Windows Server 2003

How to video for installing and configuring pop3, smtp mail server on Windows Server 2003. Visit ServerVideos.Com
Video Length: 09:35
Uploaded By: Sandeep KH
View Count: 101,919

iPhone SMTP issues? Outgoing server for iphone
iPhone SMTP issues? Outgoing server for iphone

You iPhone email issues can be easily resolved with our revolutionary iPhone SMTP server. Watch the video and visit www.iphonesmtpserversettings.com for a live webinar! hr / bClosed Caption:/b if you're on the webinar I bet you have an iphone and if you have an iPhone there's a good chance you'd have an email issue if you've not configured it correctly or perhaps your current internet provider provider of outgoing server is no ...
Video Length: 07:25
Uploaded By: searchMLS
View Count: 97,362

Configuring the windows server SMTP email sever for my website
Configuring the windows server SMTP email sever for my website

I show how i use windows server 2008 to configure an smtp server for my forum website. I use the smtp role and set up the server, then port forwart port 25 to send emails to my users in the event I need to. hr / bClosed Caption:/b what's up guys it's jacob here sorry i'd spend a couple days since i made a video but I'm I've been really busy with stuff so on mainly and I've been trying to get an email server working on my website ifbr ...
Video Length: 10:12
Uploaded By: Jacob Dykstra
View Count: 65,859

How to use FREE SMTP Server like gmail to send out mass emails to your clients?
How to use FREE SMTP Server like gmail to send out mass emails to your clients?

Atomic Email Sender software can use FREE SMTP server like gmail to send out your emails to your clients, you can learn more at http://www.autotakemoney.com/why-atom....
Video Length: 01:43
Uploaded By: autotakemoney
View Count: 59,136

Sending emails in asp.net using SMTP server settings from web config   Part 78
Sending emails in asp.net using SMTP server settings from web config Part 78

C#, SQL Server, WCF, MVC and ASP .NET video tutorials for beginners http://www.youtube.com/user/kudvenkat... In the previous session, we discussed about sending emails using asp.net. All the SMTP server settings were configured in code. In this session, we will discuss about specifying these settings in web.config file. Since the SMTP server settings are now configured in web.config. In code all you have to do is 1. Create an instance of the MailMessage class. ...
Video Length: 10:11
Uploaded By: kudvenkat
View Count: 58,686

Copyright © 2025, Ivertech. All rights reserved.