ContentID Property (CDONTS Attachment Object)

ContentID Property (CDONTS Attachment Object)

The ContentID property returns the Content-ID header of a MIME (Multipurpose Internet Mail Extensions) message attachment. Read-only.

Syntax

        objAttach.ContentID 

Data Type

String

Remarks

The ContentID property is used for MHTML (MIME HTML) support. It represents the Content-ID header for the appropriate MIME body part.

The CDO for NTS Library does not generate Content-ID headers for outgoing messages or attachments. This property is provided to inspect an incoming message for Content-ID headers.

For more information on MHTML, see the RFC 2110 document.

See Also

Concepts

Attachment Object (CDONTS Library)