Platform SDK: CDO 1.2.1

ContentBase Property (CDONTS NewMail Object)

The ContentBase property sets a base for all URLs relating to the NewMail object's message body. Write-only.

Syntax

objNewMail.ContentBase 
 

Data Type

String

Remarks

The ContentBase property is used for MHTML (MIME HTML) support. It represents the Content-Base header for URLs pertaining to the main body of a MIME message. ContentBase corresponds to the ContentBase property of a Message object.

The ContentBase property is used in conjunction with the ContentLocation property to provide an absolute path for all URLs pertaining to the message body. These include the URL used to reference the message body itself, and also any URLs within HTML tags in the Body property of the NewMail object.

ContentBase is meant to be combined with ContentLocation to produce an absolute path. For more information on constructing URL paths, see the ContentLocation property.

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