IConverterSession::SetEncoding [Outlook 2003 API Reference]

Initializes the encoding to be used during conversion.

Quick Info

See IConverterSession.

HRESULT IConverterSession:: SetEncoding (
    ENCODINGTYPE et
);

Parameters

et

An ENCODINGTYPE value. Only the following values are supported:

IET_BASE64

IET_UUENCODE

IET_QP

IET_7BIT

IET_8BIT

Return Values

E_INVALIDARG

The encoding type passed was invalid.

Remarks

You can use IConverterSession::SetEncoding to set the encoding for only the outermost message body of a mail item. Outlook chooses the encoding for any individual attachments.

See Also

Constants for the MAPI-MIME Conversion API

IConverterSession

IConverterSession::MAPIToMIMEStm

IConverterSession::MIMEToMAPI

IConverterSession::SetSaveFormat

IConverterSession::SetTextWrapping