次の方法で共有


IConverterSession::SetEncoding

IConverterSession::SetEncoding

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

Call SetEncoding before using MAPIToMIMEStm to perform conversion.

Use 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::SetAdrBook

IConverterSession::SetCharSet

IConverterSession::SetSaveFormat

IConverterSession::SetTextWrapping