Platform SDK: CDO 1.2.1 |
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.