Platform SDK: CDO for Windows 2000

CdoReferenceType Enum

The CdoReferenceType enumeration is used when calling the IMessage.AddRelatedBodyPart method. Using this enumeration, you can specify how a related Multipurpose Internet Mail Extensions (MIME) entity, such as an included image, is to be referenced within messages that are formatted in MIME Encapsulation of Aggregate HTML Documents (MHTML) using a Content-ID or Content-Location header.

Name Value Description
cdoRefTypeId 0 The Reference parameter contains a value for the Content-ID header. The Hypertext Markup Language (HTML) body refers to the resource using this Content-ID header.
cdoRefTypeLocation 1 The Reference parameter contains a value for the Content-Location MIME header. The HTML body refers to the resource using this message-relative Uniform Resource Locator (URL).

See Also

IMessage.AddRelatedBodyPart Method