Platform SDK: CDO for Windows 2000 |
Many of the properties defined by the IBodyPart interface closely follow those defined by the Multipurpose Internet Mail Extensions (MIME) RFC specifications. The properties defined by the IBodyPart interface are summarized in the following table. Each property is of the String (BSTR) type.
MIME Header Properties
Property | Description |
---|---|
ContentTransferEncoding | Corresponds to the Content-Transfer-Encoding MIME header. If a body part is a content body part, this header field defines the mechanism used to encode the content. |
ContentMediaType | Corresponds to the media type in the Content-Type MIME header. This header is central to MIME formatted messages because it the type of body part. All body parts require a Content-Type value. |
Charset | Corresponds to the optional charset parameter of the Content-Type MIME header. This parameter is used with text type body parts and defines the character set of the text. |
FileName | Corresponds to the optional filename parameter used with the Content-Disposition MIME header. This parameter is used with a body part with the attachment disposition to inform the client of the file name to associate with the content. |
Other properties are provided that do not correspond to a particular Internet standard. These properties are listed in the following table.
General Properties
Property | Description |
---|---|
ContentClass | Defines the class of the body part content and corresponds to the Content-Class header field. The Content-Class property is used to determine compatibility between content and class when manipulating the content. |
ContentClassName | Deprecated and not implemented. |
Parent | Returns a reference to the parent object in the MIME body part hierarchy of objects. The Parent property returns an error if no parent exists (that is. if the object is the root of the hierarchy.) |