How Does Email Know Where to Go?

When you type an email address for a message andinformation obfuscated. The sending server connects
hit send, how does the email know where to go?to the destination server. It says hello. The
Your email client (email software) wraps up yourdestination server replies with ELHO. They are even
email along with certain information about theon a first name basis. The sending server says, "I
message, and sends the email to your SMTP Serverhave a message for one of your people, and it is this
(The SMTP server handles outgoing email. SMTPbig."
stands for Simple Mail Transfer Protocol) Which SMTPThe destination server looks up the email address,
server you use is configured in your email software.and looks to see if it wants to, and is able to,
Most people use the SMTP server provided by theirreceive email for the recipient. It then tells the
Internet Service Provider (ISP). Or if you use websending server. "Ok, send it on"
based email such as Hotmail or Yahoo mail, you haveThe sending server then says, Ok, I am sending the
no control over the SMTP server -- it is built in.message. You will know when it is done when you
Your SMTP server accepts the email, looks up the IPsee two carriage return line feeds (CRLF) back to
address of the destination server, breaks theback. The receiving server then acknowledges
message up into packets, and sends the packets toreceipt of the message and the conversation ends.
the destination through a series of "hops" (usually aConnecting to [61.00.00.122]:25 ... connected
sequence of very high-powered routers). The pathSMTP (receiving) 220 ESMTP server ready Tue, 23
that your email takes through the internet isDec 2008 21:58:40 +0000
determined by the various routers. The routers usedSMTP (sending) EHLO um-232.shxxs.net
for internet routing have been compared withSMTP (receiving) 250- 250-ETRN 250-AUTH=LOGIN
supercomputers. They look at various possible pathsPLAIN 250-AUTH LOGIN PLAIN 250-PIPELINING
to the destination, and decide the best route to take.250-DSN 250-8BITMIME 250 SIZE 15728640
The individual packets may all use the same route, orSMTP (sending) MAIL FROM: 411.4.600062-12189942
some my go through one path, then the router may@ (sending) RCPT TO: kxxxy @ bixxd.net
decide that there is too much traffic along that path,SMTP (sending) DATA
and send the rest of the packets through anotherSMTP (receiving) 250 Sender 411.4.600062-12189942
path, or a variety of other paths.@ and extensions ( Ok
Once all of the packets have been received, theSMTP (receiving) 250 Recipient kxxxy @ bixxd.net
destination server (usually a "POP" server) hooks theOk
packets back together and places the email in aSMTP (receiving) 354 Ok Send data ending with
special file and waits for the recipient to request theirCRLF.CRLF
email.SMTP (sending) writing message and terminating . . . .
The email servers have an actual conversation. As. . .
you can see, below, they are even very polite. ThisSMTP (receiving) 250 Message received:
is an actual conversation with the identifying20081223215845. @ um-232.shxxs.