Platform SDK: Exchange 2000 Server

MimeFormatted Property

[This is preliminary documentation and subject to change.]

Indicates whether or not this message is to be formatted using the Multipurpose Internet Mail Extensions (MIME) formatting scheme.

[Visual Basic]
Property MimeFormatted as Boolean
[C++]
HRESULT get_MimeFomratted(VARIANT_BOOL* pVal);
HRESULT put_MimeFomratted(VARIANT_BOOL Val);
[IDL]
HRESULT [propget] MimeFormatted([out,retval] VARIANT_BOOL* pVal);
HRESULT [propput] MimeFormatted([in] VARIANT_BOOL Val);

Remarks

If MimeFormatted is set to True, CDO automatically sets the message's IBodyPart.ContentMediaType property to "multipart/alternative". However, subsequent actions can change this setting. Adding a body part, for example, changes ContentMediaType to "multipart/mixed", and adding an associated URL changes it to "multipart/related".

If MimeFormatted is False and you set the HTMLBody property, CDO sets MimeFormatted to True. If you set MimeFormatted to False, the HTMLBody property is removed from the message and the HTML text is lost.

If you prepare a message with MimeFormatted set to True and later change it to False, all the body parts are made into attachments and marked for encoding with the UUENCODE mechanism. Encoding only takes place when you call the Send or Post method.

The default value of MimeFormatted is True.