How Email Looks

Your email reader application assembles a message into the format necessary for Internet transmission. If your network uses a different protocol system (or a different email system), the message might pass through one or more email gateways that convert the message into the Internet-ready format described in this hour. An email message sent over the Internet consists of two parts:

  • The header

  • The body

Like the body of the message, the header is transmitted as ASCII-based text. The header consists of a series of keyword field names followed by one or more comma-separated values. Most of the mail header fields are familiar to anyone who has worked with email. Some of the important header fields are given in Table 18.1.

Table 18.1. Some Important Mail Header Fields

Header Field

Description

To:

Email address(es) of mail recipient(s).

From:

Email address of sender.

Date:

Date and time the message was sent.

Subject:

A brief description of the message subject.

Cc:

Email addresses of other users who will receive a copy of the message.

Bcc:

Email addresses of users who will receive a blind copy of the message. A blind copy is a copy of the message that the other recipients don't know about. Any email address listed in the Bcc field will not appear in the header received by the other recipients.

Reply-To:

Email address that will receive replies to this message. If this field is not given, replies will go to the address referenced in the From: field.

Following the header is a blank line, and following the blank line is the body of the message (the actual text of the electronic letter).

Users often want to send more than just text with an email message. A number of methods have emerged for transmitting binary files through email. Most of these strategies use some utility to convert the binary bits into some ASCII equivalent. The resulting file looks like ASCII text in fact, it is ASCII text but you can't read it because it is just a jumble of letters representing the original binary code. The BinHex utility (originally developed for the Macintosh) and the Uuencode utility (originally developed for Unix) use this method. You or your email reader must have the necessary decoding utility to convert the file back to its binary form.

A more general and universal solution for sending binary files through email has emerged through the MIME format. MIME is a general format for extending the capabilities of Internet email. A MIME-enabled email application encodes the message into MIME format before transmission. When the message is downloaded to the recipient, a MIME-enabled email application on the recipient's computer decodes the message and restores it to its original form.

MIME brings several innovations to Internet mail, including the following:

  • Expanded character sets. MIME is not limited to the standard 128-character ASCII set. This means you can use it to transmit special characters and characters that aren't present in American English.

  • Unlimited line length and message length.

  • Standard encoding for attachments.

  • Provisions for integrating images, sound, links, and formatted text with the message.

Most email reader applications support MIME. MIME format is described in several RFCs, including RFCs 1521, 1522, 1563, and 1590.



Sams Teach Yourself TCP/IP in 24 Hours
Sams Teach Yourself TCP/IP in 24 Hours (4th Edition)
ISBN: 0672329964
EAN: 2147483647
Year: 2003
Pages: 259
Authors: Joe Casad

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net