Article ID: 278321 - Last Review: February 22, 2007 - Revision: 4.4 How To Force a Particular Internet Encoding by Using MAPIThis article was previously published under Q278321 On This PageSUMMARY
You can use the Messaging Application Programming Interface (MAPI) property PR_INETMAIL_OVERRIDE_FORMAT (0x59020003) to force the Exchange Internet Mail Service (IMS) to use a particular encoding scheme for the message body and attachments. This per-message property can be set in both Collaboration Data Objects (CDO) and Extended MAPI code.
MORE INFORMATION
The possible values of PR_INETMAIL_OVERRIDE_FORMAT, which correspond to the Send Options settings in Microsoft Outlook, are as follows: Collapse this table
Sample Code for CDOThe following CDO Microsoft Visual Basic code sends a MIME message with two attachments, encoded with Base64:278358
(http://support.microsoft.com/kb/278358/EN-US/
)
PRB: File Attached Via CDO Has Incorrect Filename
Headers for MAPIYou can use this property from Extended MAPI code as well; the following #defines will help:Important NotesThe encoding specified in PR_INETMAIL_OVERRIDE_FORMAT take effect only if the IMS does not encode the message as Rich Text/TNEF. For information on preventing the use of transport-neutral encapsulation format (TNEF), see the following article:149203
(http://support.microsoft.com/kb/149203/EN-US/
)
XFOR: Preventing Winmail.dat From Being Sent Over IMC
The information in this article applies only to mail that is sent through the Exchange Internet Mail Connector (IMC). It does not apply to mail that is sent through the Outlook Internet Mail Provider.
REFERENCES
For more information on Outlook and message encodings, see the following article:
268547
(http://support.microsoft.com/kb/268547/EN-US/
)
OL2000: Information About Outlook and Encoded Messages
| Article Translations
|
Back to the top
