Networking, Programming and Graphics Tutorials

Simple Mail Transfer Protocol commands [1/1]

Type: Code Networking, Programming and Graphics Tutorials
Simple Mail Transfer Protocol commands
Level: Beginner Networking, Programming and Graphics Tutorials 
Simple Mail Transfer Protocol commands
Date: 2007-Apr-07
Simple Mail Transfer Protocol commands
Visited: 2263 times
Simple Mail Transfer Protocol commands
Rating: Simple Mail Transfer Protocol commands
Simple Mail Transfer Protocol commands
Author: Stephen Think

This tutorial will teach you how to connect to a SMTP server , create a e-mail message and send it.

Open a command line window.
If you use Windows operating system you will need to do this:
1. Go to Start
2. Click on Run.
3. Type cmd and then click OK.

Once the terminal windows is opened type:

telnet smtp.mydomain.com 25
Once connected to the server, we have to start sending commands for it to do some tasks. Let us see an example of some commands. I will not explain each one of them as they seem pretty intuitive:

Note : The lines where is says "Blank line ..." is just a blank line . Do NOT copy/paste them.

HELO mydomain.com
MAIL FROM: myname@mydomain.com
RCPT TO: john.doe@test.com
DATA
From: "My Name and My Last name" 
Subject: Telnet mail test
To: "PETE, DOE" 
"Blank line for the beginning of the mail body"
Text test in the body of the mail
"Blank line indicating end of mail body"
.
"Blank line indicating end of message"
QUIT
Rate this tutorial:                    
Networking, Programming and Graphics Tutorials - Simple Mail Transfer Protocol commands [1/1] - Networking, Programming and Graphics Tutorials

Need a specific tutorial? Do not hesitate and submit a request!
Related Tags: commands for simple mail transfer protocol  Simple mail transfer protocol  functionality of simple mail transfer protocol  functionality of Simple Mail Transfer Protocol  Simple message transfer protocol tutorials  Myspace mail transfer protocol  creat mail to HyperText Transfer Protocol  how do i find my Simple Mail Transport Protocol  "rdp protocol" "file transfer"  hypertext transfer protocol for myspace  file transfer protocol in windows firewall  how to add exception on file transfer protocol at firewall  allow file transfer protocol with windows firewall  php mail smtp simple tutorial  simple test message commands  free simple windows mail server test php  mail commands  php mail function protocol  php script sending mail through smtp with commands  Mail server+functionality+php+for sending mail receiving mails