XADM: CDO.Message Object that Contains Unicode Is Not Correctly Identified (813252)



The information in this article applies to:

  • Microsoft Exchange 2000 Enterprise Server
  • Microsoft Exchange 2000 Server

SYMPTOMS

When you programmatically load a Unicode text file into a CDO.Message object, and then you check the ContentMediaType property of the message object, the text/plain type is returned instead of themultipart/signed type.

If you convert the document to ANSI, it is correctly recognized as multipart/signed.

CAUSE

This problem occurs because Microsoft Collaboration Data Objects for Windows 2000 (CDOSYS) does not parse the MIME message headers correctly when the message is loaded from a Unicode stream. This occurs because CDOSYS and Microsoft Collaboration Data Objects for Exchange 2000 Server (CDOEX) use the MimeOLE functionality to parse the message headers and body parts of messages. This functionality is provided by Microsoft Outlook Express in Inetcomm.dll and was not designed to support Unicode streams.

WORKAROUND

To work around this problem, configure your program to use ANSI instead of Unicode text streams.

STATUS

This is a design limitation in Outlook Express.

Modification Type:MinorLast Reviewed:10/26/2005
Keywords:kbprb KB813252