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: 2052 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  functionality of simple mail transfer protocol  Myspace mail transfer protocol  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 function protocol  Mail server+functionality+php+for sending mail receiving mails  php mail function remote mail server  html mail body mail function php  transfer files via rdp port  transfer ntfs permission domain  windows firewall aol file transfer  transfer file ntfs security  windows ftp command line file transfer  bluetooth file transfer command line windows -medieval  simple iptable example  simple iptables  simple iptables configuration  simple iptables config