Platform SDK: Exchange Server

Translating Attachments

Gateways call the HrConvConvert function to translate messages. However, they can also use it to convert attachments. Because translation DLLs are not restricted to operating on message objects, you can define separate translation phases for attachments in the same way that you can use multiple translation phases for messages. The translation environment for an attachment should include the gateway name, the message type, and the attachment type. See HrCnvQueryCapability for details on translation phases and translation environments.