content-media-type Field
content-media-type Field
The media type for the body part.
Full Name
urn:schemas:httpmail:content-media-type
Name Constant
CdoHTTPMail.cdoContentMediaType
OLE DB Type
DBTYPE_WSTR
Variant SubType
String
BSTR
Remarks
This field corresponds to the content media type of the Content-Type RFC 1522 header.
The following string constants are provided in the CDO type library:
CdoContentTypeValues Module Constants
Constant | Value | Description |
---|---|---|
cdoGif |
"image/gif" |
Image encoded using Graphics Interchange Format (GIF) |
cdoJpeg |
"image/jpeg" |
Image encoded using Joint Photographic Experts Group format (ISO/IEC 10918) |
cdoMessageExternalBody |
"message/external-body" |
Pointer to message content outside this message |
cdoMessagePartial |
"message/partial" |
One piece of a fragmented message |
cdoMessageRFC822 |
"message/rfc822" |
Simple e-mail message, not even a forward |
cdoMultipartAlternative |
"multipart/alternative" |
Different versions of same content, simplest first |
cdoMultipartDigest |
"multipart/digest" |
Different messages, including forwarded messages |
cdoMultipartMixed |
"multipart/mixed" |
Body parts to be processed sequentially |
cdoMultipartRelated |
"multipart/related" |
Body parts accessed through URLs |
cdoTextHtml |
"text/html" |
Text with HTML tags |
cdoTextPlain |
"text/plain" |
Unstructured text |
Example
text/plain