.
Google
 
 

Home
Quick Tour

Product Info

  Freeware eMail CRM Maximize the life-time value of your clients and getting them to smile at you Art of eMail CRM Applying minimum efforts for maximum result, at the shortest time? emails eMail Bolts & Nuts Interesting emails stuff that you should  know eMail Broadcast FAQ's eMail Marketing Tips
Great email strategies to help you increase sales
 
 

Delivery of each email is done by your ISP mail server, first establishing a conversation through (port 25) of each of your recipient ISP mail server

 

How email works?

How do my email gets to the recipient?

Before you can send out email messages from your PCs, you need to access the Internet through your ISP network via a dial-up modem that usually utilizes the telephone line or with always-on ISDN, DSL, ADSL, Network or Cable connection.

SMTP (Simple Mail Transport Protocol) is a protocol governing electronic mail transmission and reception. It is used for sending email to and between mail servers (sending and receiving email messages).
See
rfc 821

Using email clients like: Outlook Express or Eudora etc. to send out email to your ISPs mail server--which collects them--put them in queue and then relay them to your recipients ISP mail server--for retrieval from their mailbox.

Mailbox - each mailbox is assigned a unique address ie: mymail@mydomain.com character string which identifies the user to whom the mail is to be sent.

Mailboxes normally reside on mail servers that are always connected to the Internet (otherwise mails can't be received), and mails are fetch from the remote mail servers using Post Office Protocol (POP3) by the user with their mail client.

 

eMail Bolts & Nuts FAQ's
How to manage and clean bounced undelivered emails? Understand why emails get bounced
How to use your desktop PCs as an email server and bypass your ISP email server, a simple process using a free mail server program
How to test your message and see if it gets deleted by broad based anti-spam filters?
A one page email course. Everything you wanted to know about emailing in a "nut shell"
Quick guide to: dig finger traceroute ping whois nslookup IP block FTP SMTP relay TCP/IP Port
How to embed email tracking code into your email? Invisible counters, codes, scripts to track viewer
Send HTML or TEXT email using formatted HTML email, you can send an entire webpage
How to embed images into HTML email for faster emailing? Prevent displaying linked-site in recipient email client status bar
RFC defined ESMTP, SMTP Status Email Error Codes? These codes are used to provide informative explanations of error conditions
How email works?  Delivery of each email is done
by your ISP mail server, first establishing a conversation through your recipient port 25
Some spiders visit site after site, collecting email addresses and controlling these rogue spiders spam bots or email harvesters with robot.txt
About TCP/IP and mail server port numbers? It is a number between 1 and 65535 which identifies to the receiving computer what function you want to perform


Email in queue at your ISP mail server may takes just a few seconds to be delivered--if it is not overloaded--to a few minutes or even hours, and if the network is down or the recipients mail server does not want to accept your email for some reason like: busy or mailbox full--then your ISP or your own mail server will try to deliver again.

Many ISP (or your) mail servers can be programmed to make multiple attempt delivery of undelivered email, some up-to 250 times before returning them as undeliverable.

In many countries, local legislation requires ISP service operator to grant security service access to the user's correspondence--so, your emails are probably stored in your ISP's system for some time before being delivered.

MailsBroadcast send emails continuously in groups of 10 (default setting) or up to 250 emails per group to your ISP mail server or to your PCs mail server for distribution -- as fast as your ISP or mail server can cache them for distribution. Therefore, the speed of sending emails is not due to the MailsBroadcast program. See Email Speed

If you sent 500 emails to your ISP mail server, it will accept all (store them) and put them in queue for delivery or you may experience server-time-out (connection terminated) because many ISP mail server are programmed to limit the amount of mail that you can sent, by quantity or by limiting the server access time.

Server-time-out, if the sending and receiving mail server has different timeouts, one of them may give-up while the other is still trying and unexpectedly, terminate the connection.

Many ISP mail servers also reduce the number of concurrent connection--meaning that even thought your ISP mail server have accepted all your emails--they may not be delivered or accepted by the intended recipient ISP mail server. See: Server-time-out and identifying mail delivery failures... See: SMTP Return Error Codes

Assuming that all your 500 emails are sent to different domain recipients, for example: july_@aol.com  march_@mail.com  may_@hotmail.com etc., your ISP mail server will have to deliver each of your 500 emails to 500 different ISP mail servers.
 

 

 

eMail Bolts & Nuts FAQ's
The function of URL Uniform Resource Locator? A command for your email address, some mail clients may not be able to translate it into an email address
A standard client server protocol for receiving email. POP3 is use for retrieving Internet email from ISPs mail server...
Collections of important useful emails related sites? Free email stuff, real cool, give it a try
Advanced DNS (dig) for the DNS records of a host or domain showing all the DNS records
All about IP Addresses, DNS, Internet addressing. Serious stuff, perfect remedy if you can't sleep
Email history, email netiquette, improving email presentation, email with sound, pictures
101 Email spam tracking and meaning of message header? 102 DejaNews the most powerful dedicated spam-tracker's tool 103 The spam tracker tools: Whois, nslookup, traceroute, dig 104 Spam tracking
Never use ISPs that hosts your web site to send out newsletter. If they cancel your account, you will lose all your web pages
Warning: If you publish an online newsletter or email to any opt-in list (including your own list), it is critical that you read this
The history of Spam starts with Monty Python's Flying Circus and Vikings singing Spam
A list of return error codes by Windows Sockets API returned by WSAGetLastErrorcall with descriptions
Meet The Kings of SPAM - You don't need rocket science to figure out how to send spam emails

 

 
.
 


The Conversation
H
ow two MTAs (Message Transfer Agent) communicate with each other using a single TCP connection?

After your ISP mail server have collected all your emails, put them in queue and then send them out--to each recipient ISP mail server by establishing a conversation with a SMTP server--connecting to port 25 on the recipient SMTP mail server and wait for it to identify itself first....

...the recipient mail server will tell the sending server if it is prepared to receive mail--if not--the sending mail server terminate the connection and try again later...

...after a predetermined undeliverable attempts, all undeliverable message will be returned with an error report containing the first part (message headers) to the sender mail server.

Server-time-out, if the sending and receiving mail server has different timeouts, one of them may give-up while the other is still trying and unexpectedly, terminate the connection.

Basically, email consist of:
(1) The envelope   (2) headers   (3) Message body

(1) Envelope
rfc 821 specifies the contents and interpretation of the envelope--used by the MTAs for delivery specified by these two SMTP commands (MAIL From: and RCPT To:)

MAIL From:<mable@sun.tuc.test.org>
RCPT To:<mable@test.org>

(2) headers are used by the user agent and each header field contains a name, followed by a colon, followed by the field value.

Received: by sun.tuc.test.org. (4.1/SMI-4.1)
id AA01301; Tue, 21 May 98 11:37:22 MST

Message-Id: <6210181836.AA00502@sun.tuc.test.org.>
From: mable@sun.tuc.test.org (Mable Merliney)
Reply-To:
mable@test.org
X-Phone:
+0 202 671 2761
X-Mailer:
Mail User’s Shell (9.1.0 12/02/98)
To:
mable@test.org
Subject:
testing

Headers beginning with an X- are user-defined fields and RFC 822 specifies the format and interpretation of the header fields.

(3) Message body is the content of the message from the sender to the recipient and transferred using the DATA command--the headers are sent first, followed by a blank line, followed by the body. Each line transferred using the DATA command must be less than 1000 bytes.

The user agent takes what the sender specify as a body, adds some headers and passes the result to the MTA - the MTA adds a few headers, adds the envelope and sends the result to another MTA.

 

Operational Sequent of:
SMTP
Simple Mail Transfer Protocol

A HELO command and recipient mail server identify its self--at this stage--it may decide to terminate the connection--if it don't want to talk to the sender for example: mailbox full or blocked, etc., if it is accepted...

A Mail-FROM command is issued by the sender mail server, followed by the from (sender) address--again, the mail server may decide to terminate the connection, if it does not wish to receive mail from the sender...

...at this stage, most mail servers will conduct a reverse lookup nslookup on the domain name specified for the HELO or FROM command and if the IP address of the sender mail server is not registered (see MX records) to that domain--considered an (imposter) non-local--the connection terminated and if it is accepted...

A RCPT-TO command is issued, followed by the email address of the intended recipient--at this point, the mail server may reject emails sent to the specified address, ie; non local user--if all goes well at this stage, your ISP mail server may issue multiple RCPT-TO commands to the server thus adding more recipients to the message:

Adding more--means that, if you have 100 AOL email recipients, all of them are all delivered to the mail server. When it is through with adding recipients, it issues the...

DATA command to the server and if it is accepted ....at this point--again, the mail server may reject emails being delivered...

DATA command is accepted and your ISP mail server proceeds to send the message headers, followed by a blank line, followed by the message body and file attachment data. When it is done with sending the message data, it sends a carriage return, followed by a period, followed by a carriage return, to indicate the end of the message...

QUIT command is issued to terminate the conversation, if you have sent 500 emails and all of them are to 500 different email domain, the above process is repeated with each and every 500 different ISP mail server.

Email Daemon - An email software program residing in a mail server that manages incoming and outgoing mails.

If you are sending emails using your own mail server program. Emails will first be sent from your email client to your mail server for delivery and if you are off-line (not connected to the Internet) your mail server will cache or store them in queue for delivery--And follow the same SMTP protocols as described above it makes no difference, whether it is your own mail server or your ISPs mail server.

How two MTAs (Message Transfer Agent) communicate with each other using a single TCP connection? Below here is a typical transcript conversation between two mail servers (below).

SENDER is in bold and the 5 SMTP emails transaction commands. See:
SMTP Return Codes

 

User Agent?
A program (ie: Eudora) or editor that let users create, edit, compose, store and send mails to a mail server, polls a mail server for mails, download and display mails, as well as using
POP3 to talk to mail servers.


 

Message Transfer Agent (MTA) the exchange of mail using TCP/IP is performed by MTA that defines how email messages are transmitted between two users.
Spam-tracking 103
WHOIS tool nslookup
and
traceroute freeware download
.
whois.internic.net or network solutions are network registries to find out contact info for current domain or IP address
.
nslookup a DNS tool that Perform forward and reverse DNS queries for the current address (this will usually give you the IP address of a hostname)
.
traceroute finds the route packets take between you and the selected address
.
Email in a "nut shell" a one page course about emailing. Everything you wanted to know about emailing.
.
How email works? Delivery of each email is done by your ISP mailserver establishing a conversation through (port 25) of your recipient mail server
.
Free2-Try 100% effective. The easiest way to Stop Spam getting into your PC. I recommend it. stop spam
.
Free eBook Sun Tzu Art of War Commanders without thoughtful strategy invite defeat.

Sun Tzu

.
Free eBook Great online Stealth Marketing strategies to help you increase sales email tips

 

 

 


Bounce eMail
Manager
Freeware

"A valued contribution that
I and the rest of my team sincerely appreciate it. We have checked your software twice and it is good." Alex
webmaster@softpicks.net

 

 

 


100% effective.
I recommend it.

  The easies way to stop email spam, virus getting
into your PC
Free2-Try
 
220 mailhost.immxx-isp.com ESMTP Sendmail 8.8.5/1.4/8.7.2/1.13; Tue, Mar 18 1997 14:38:58 -0800 (PST)

HELO mail.sender.org
250 mailhost.immxx-isp.com  Hello mail.sender.org

 

 

 


MAIL FROM: antispam@sender.org
250 antispam@sender.org... Sender ok

 

 

 



RCPT TO: myfriend@immxx-isp.com
250 myfriend@immxx-isp.com... Recipient ok

 

 


DATA
354 Enter mail, end with "." on a line by itself
Received: from alpha.sender.org (alpha.sender.org [124.211.3.11]) by mail.sender.org (8.8.5) id 004A21; Tue, Mar 18 1997 14:36:17 -0800 (PST)
From: antispam@sender.org (Anti-Spammer)
To: myfriend@immxx-isp.com
Date: Tue, Mar 18 1997 14:36:14 PST
Message-Id: <antispam031897143614-00000298@mail.sender.org>
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
Subject: Meeting this evening?
Let's go to the movie after dinner?


--antispam.
250 LAA20869 Message accepted for delivery

QUIT
221 mailhost.immxx-isp.com closing connection



Example of undeliverable notification
in respond to a message send by
john@MAIL  via  mail2  to  mail3  with
relay instructions to mail4

S: MAIL FROM:<>
R: 250 ok
S: RCPT TO:<@MAIL2.ARPA:JOHN@MAIL.ARPA>
R: 25O ok
S: DATA
R: 354 send the mail data, end with .
S: Date:  23 Nov 19  10:21:23
S: From: SMTP@MAIL3
S: To:     JOHN@MAIL.ARPA
S: Subject: Mail System Problem
S:
S: Sorry JOHN, your message to ANN@MAIL4.ARPA lost
S: MAIL4.ARPA said this:
S: "550 No Such User"
S:
R: 250 ok

 

HELO
command, identifies the sending mail machine;
HELO mail.sender.org to the receiving mail machine...

and receiving mail machine to the sending machine;
250 mailhost.immxx-isp.com  Hello mail.sender.org

At this initial stage NO transaction takes place, the receiving machine can terminate the process with a 501 failure reply and the sending machine will try again or return the mail as undeliverable.
At the
HELO command, the sender can lie, nothing can prevents mail.sender.org from saying HELO makemoney.gov that's how spammers fake and mask their message headers.

--------------------------------------------------------

MAIL FROM
command, initiates mail processing and the address given turns into From: antispam@sender.org--the sender email can be valid, invalid or fake--in short; the sender can use just about any email

This is where
most mail servers will conduct a nslookup on the domain name specified for the HELO and FROM --if the sender machine IP address is not registered (see MX records) to that domain--will be considered an imposter or non-local--the connection terminated.
At this stage, the receiving mail machine can terminate the process, the sending machine will try again or return the mail as undeliverable.
----------------------------------------------------------------------------------

RCPT TO command, specifies and identify the intended recipient of the mail myfriend@immxx-isp.com and the given address becomes the To: that determines who the mail will be delivered to, regardless of what the To: line in the message says--at this point, the mail server can still reject the mail. RCPT TO is also used to identify multiple recipients within the same domain by multiple use of this command and if the mail contains a forward path (FW to someone not local) and if the receiving machine do not allow relay the mail will be returned as: 550 Unknown local user
-------------------------------------------------------------------------------

DATA command, starts the mail input and the receiving machine must process the transaction, store the mail and send an OK reply to the sending machine. If the the transaction failed (at this point) the receiving machine must send a 503 encountered bad sequence of commands failure reply to the sending machine.

When the receiving machine accepts a message either for relaying or for local delivery, it inserts a time line to indicates the identity of the host that send the mail and the host that receive the mail. (Relayed mails will have multiple time lines.

Received
: from alpha.sender.org (alpha.sender.org [124.211.3.11]) by mail.sender.org (8.8.5) id 004A21; Tue, Mar 18 1997 14:36:17 -0800 (PST)
------------------------------------------------------------------------------

QUIT command, the receiving machine must send an OK reply to the sending machine--at this point--the receiving machine do not close the transmission yet--until it receives and reply to the QUIT command from the sender machine. The sender machine will also not close the transmission until it sends the QUIT command and receives a reply.

If the connection is closed prematurely, a 504 command not implemented failure reply to the sending machine and the receiving machine will act as if a RSET command had been received, cancel pending transaction due to temporary error. RSET command, specify that; current mail transaction is to be aborted and the receiver machine must send an OK reply.

RSET command aborts current mail transaction and causes both ends to reset and any stored information about sender, recipients or mail data is discarded.

A mail transaction may be aborted by the RSET command.

QUIT command is the last session and it cannot be used at any other time during a session.

If the transaction beginning command argument is not acceptable a 501 failure reply must be returned.

If the commands in a transaction are out of order a 503 failure reply must be returned.

 

SMTP has a few more commands:

SEND command SOML command SAML command
begin a mail transaction, once started a mail transaction consists of HELO, MAIL FROM and one or more RCPT commands, follows by DATA command. They (SEND SOML SAML) replace the MAIL command and allow mails to be delivered directly to the recipient mailbox or user terminal.

Help command ask the receiver machine to send help information to the sender HELP request command.

RSET command that aborts current mail transaction and causes both ends to reset and any stored information about sender, recipients or mail data is discarded.

VRFY command lets the client ask the sender to verify a recipients address, identifies a user, name, specified mailbox and returned a reply, without sending mail to the recipient.

NOOP command force the server to respond with an OK reply code 200 - NOOP command does nothing else.

EXPN expands a mailing list, asks the receiver to confirm that the argument identifies a mailing list, and if yes, return the membership of that list with full name of the users and specified mailboxes.

TURN command lets the client and server switch roles,
to send mail in the reverse direction without having to create a new one TCP connection. The receiver
must send an OK reply and then take on the role of the sender-SMTP or send a refusal 502 reply and retain the role of the receiver-SMTP

HELP, NOOP, EXPN, and VRFY commands can be used at any time during a session between SMTP mail machines.

SMTP is fully defined in rfc2821 for the basic specification of SMTP It is worth reading to sheds light on the mysteries and intricacies of email processing.


 

Command - a request for mail service action sent by the sender SMTP to the receiver SMTP

 

 

 

 

 


 

Dolly Kee Managing Director
Image Power

eMail CRM maximize
the life-time value of  my customers, I recommend it.

Freeware for home, office PC

 

 


Sun Tzu Art of War "Leaders who takes on the role of the commander without understanding the strategy of warfare, invite defeat." Free eBook

 

 
Can't find
what you want?

Try Google...
 

Google

 

 

 

 

©Copyright June 2002  Permission to re-print, please click here

Suggestions or feed-back, please drop us a note  |  eMail CRM Freeware  | This site>>eMail Bolts & Nuts

Home | Guest Book | Refund Policy | Privacy Policy | Contact Us | Support | Purchase | Product Info | Quick Tour

Minute WisdomSun Tzu Art of War | Useful Sites | eMail Broadcast FAQ's | Art of eMail CRM | eMail Marketing Tips