answersLogoWhite

0


Best Answer

The MIME Headers

MIME-Version

This must always be present in any MIME message, and the only recognized value for it is 1.0. It indicates the version of the MIME standard that is in use, of which only one exists so far. Since the present MIME standard permits a great degree of extensibility through the definition of new content types, subtypes, encodings, and the like, it's unlikely that any other MIME version will ever need to be defined, and doing so would necessarily break compatibility with all existing mail programs.

Content-Type

This header defines what type of data is being sent, using what is known as "MIME types". A MIME type is a string that identifies a data format. MIME types always have a slash in them, separating a major type from a subtype. For instance, image/jpeg is the MIME type for JPEG images, where the major type is image.

Content-Transfer-Encoding

Since e-mail messages are still supposed to be limited to the characters in the ASCII set, to ensure compatibility with programs that might not be able to handle anything else, any non-ASCII things needs to be encoded in a manner that can be transmitted in plain ASCII.

Content-ID

The Content-ID header is primarily of use in multi-part messages (as discussed below); a Content-ID is a unique identifier for a message part, allowing it to be referred to (e.g., in IMG tags of an HTML message allowing the inline display of attached images). The content ID is contained within angle brackets in the Content-ID header.

Content-Description

Content-Description is a free-form plain text field that can be used to briefly describe the purpose of a MIME message part. Some mail programs display it along with other information about an attachment in the list of things within a message that can be saved or opened.

Content-Disposition

The Content-Disposition header suggests to the receiving program what should be done with a MIME message part. Acceptable values are inline, indicating that the part is intended to be displayed as a portion of a compound document (e.g., an image to be shown within an HTML document) and attachment, indicating an object to be opened or saved separately.

Multipart MIME Message Bodies

As has been mentioned, the MIME types starting with multipart define structures that contain multiple parts. The most commonly used varieties are multipart/alternative, which indicates that each part is a different version of the same document (e.g., one version in text form and one in HTML) and the viewer ought to pick one and display it; multipart/related, which indicates that the parts form a larger unit intended to be displayed together (e.g., an HTML document and its inline images); and multipart/mixed, indicating a "mixed bag" of different types of data.

Non-ASCII Characters in Headers

The MIME standards also provide a way to get characters outside the ASCII set into the headers themselves, which is useful for people whose names include accented letters, for instance.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What header value contains the MIME type for a document or message?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the use of header file stdbool.h?

stdbool header file use for a new data type that is boolean value


What is the structure of email?

An email has three basic parts:The header, a set of lines containing information about the message's transportation, such as the sender's address, the recipient's address, or timestamps showing when the message was sent by intermediary servers to the transport agents (MTAs), which act as a mail sorting office. The header begins with a From line and is changed each time it passes through an intermediary server. Using headers, you can see the exact path taken by the email, and how long it took each server to process.The message proper, made up of the two following elements: the header fields, a set of lines describing the message's settings, such as the sender, the recipient, the date, etc. Each one has the following form: Name: Value An email includes at least the three following headers: From: The sender's email addressTo: The recipient's email addressDate: The date when the email was sentIt may contain the following optional fields: Received: Various information about the intermediary servers and the date when the message was processed.Reply-To: A reply address.Subject: The message's subjectMessage-ID: A unique identification for the message.the message body, containing the message, separated from the header by a line break.An email is made up of lines of displayable 7-bit US-ASCII characters. Each line has at most 76 characters, for compatibility reasons, and ends with the characters CRLF (\r\n).Every email message has two parts: the header and the body (the main text of the message). The header initially contains the electronic mail address of the recipient, and usually a subject line which you provide when you write the message. Mail headers may also include other information like additional email addresses to which a copy is to be sent. By the time the message arrives at its destination, its header automatically includes further information like the email address of the sender and the time of sending.The body is the main text of the message, and may also include attachments.Most mail programs allow you to create a signature which can be automatically added to the end of every mail message you send. Conventionally a signature should not exceed four lines in length.The principal elements of the mail header are normally the date, the To: address, the From: address and the Subject: line. Other header elements you may want to set include:Cc: a list of addresses to which the mail is to be copiedBcc: a list of addresses for "blind" copies (the recipient does not see this list)Reply-To: the default address for replies, if different from the From: address


Explain the structure of an email using an example?

An email has three basic parts:The header, a set of lines containing information about the message's transportation, such as the sender's address, the recipient's address, or timestamps showing when the message was sent by intermediary servers to the transport agents (MTAs), which act as a mail sorting office. The header begins with a From line and is changed each time it passes through an intermediary server. Using headers, you can see the exact path taken by the email, and how long it took each server to process.The message proper, made up of the two following elements: the header fields, a set of lines describing the message's settings, such as the sender, the recipient, the date, etc. Each one has the following form: Name: Value An email includes at least the three following headers: From: The sender's email addressTo: The recipient's email addressDate: The date when the email was sentIt may contain the following optional fields: Received: Various information about the intermediary servers and the date when the message was processed.Reply-To: A reply address.Subject: The message's subjectMessage-ID: A unique identification for the message.the message body, containing the message, separated from the header by a line break.An email is made up of lines of displayable 7-bit US-ASCII characters. Each line has at most 76 characters, for compatibility reasons, and ends with the characters CRLF (\r\n).Every email message has two parts: the header and the body (the main text of the message). The header initially contains the electronic mail address of the recipient, and usually a subject line which you provide when you write the message. Mail headers may also include other information like additional email addresses to which a copy is to be sent. By the time the message arrives at its destination, its header automatically includes further information like the email address of the sender and the time of sending.The body is the main text of the message, and may also include attachments.Most mail programs allow you to create a signature which can be automatically added to the end of every mail message you send. Conventionally a signature should not exceed four lines in length.The principal elements of the mail header are normally the date, the To: address, the From: address and the Subject: line. Other header elements you may want to set include:Cc: a list of addresses to which the mail is to be copiedBcc: a list of addresses for "blind" copies (the recipient does not see this list)Reply-To: the default address for replies, if different from the From: address


What is MessageBox?

Displays a modal dialog box that contains a system icon, a set of buttons, and a brief application-specific message, such as status or error information. The message box returns an integer value that indicates which button the user clicked.


What is the purpose of the checksum?

A checksum is an error-detection method in which each transmitted message results in a numerical value based on the value of the bytes in a message. The transmitter places the calculated value in the message and then sends the value with the message. The receiver applies the same formula to each received message and checks to make sure the accompanying numerical value is the same. If not, the receiver can assume that the message has been corrupted in transmission.


What is the TTL - Time to Live and Why is it required?

TTL is a value in data packet of Internet Protocol. It communicates to the network router whether or not the packet should be in the network for too long or discarded. Usually, data packets might not be transmitted to their intended destination within a stipulated period of time. The TTL value is set by a system default value which is an 8-bit binary digit field in the header of the packet. The purpose of TTL is, it would specify certain time limit in seconds, for transmitting the packet header. When the time is exhausted, the packet would be discarded. Each router receives the subtracts count, when the packet is discarded, and when it becomes zero, the router detects the discarded packets and sends a message, Internet Control Message Protocol message back to the originating host.


What value in the address field of frame relay header identifies the destination of the frame?

DLCI


What value in the address field of a Frame Relay header identifies the destination of the frame?

DLCI


Can the value of the header length be less than 5?

yes maybe I'm just guessing :)


The datagram length field in an IPv4 datagram contains which numeric value?

Total number of bytes in the datagram, including the header.The length of an IP datagram itself is technically measured in bytes. The length field represents the size of both the header and the data portions of the datagram.


What is contained in the merge field in a data source document?

A placeholder in the main document that marks where a value is inserted from a source.


What is a 1-bit flag in the TCP header used to indicate the initial value of the sequence number?

The SYN flag is a 1-bit flag in the TCP header used to indicate the initial value of the sequence number. It is only set in the first two segments of the three-way TCP connection establishment sequence.