This topic has not yet been rated - Rate this topic

Body Property (CDONTS NewMail Object)

Exchange Server 2003

Topic Last Modified: 2004-06-09

The Body property sets the text of the NewMail object. Write-only.


        objNewMail.Body 

Object (IStream) or String

The Body property can contain either plain text or HTML. The BodyFormat property should be set to indicate whether or not the Body property includes any HTML.

Only C/C++ and Java programs can use an IStream object for this property. They should pass an IUnknown object that returns an IStream interface in response to QueryInterface. Microsoft® Visual Basic® supports the IDispatch interface and not IUnknown, so it cannot use an IStream object.

Did you find this helpful?
(1500 characters remaining)