Поделиться через


IConverterSession::SetAdrBook

IConverterSession::SetAdrBook

Specifies an optional MAPI Address Book that the MAPI to MIME converter uses to resolve ambiguous addresses when converting a MAPI message to a MIME stream.

Quick Info

See IConverterSession.

  HRESULT IConverterSession::SetAdrBook(
LPADRBOOK pab);

Parameters

pab

[in] Pointer to an IAddrBook interface to be used in the MAPI to MIME conversion. Set this parameter to NULL when you no longer need the Address Book; this releases the interface and resets the converter to not using any Address Book.

Return Values

S_OK

The function call is successful.

Remarks

Converting a MAPI message to MIME stream generally does not require logging on to a MAPI profile. However, specifying a MAPI Address Book for conversion requires logging on to a profile to obtain the Address Book.

See Also

IConverterSession

IConverterSession::MAPIToMIMEStm

IConverterSession::MIMEToMAPI

IConverterSession::SetCharSet

IConverterSession::SetEncoding

IConverterSession::SetSaveFormat

IConverterSession::SetTextWrapping