IConverterSession::SetSaveFormat

Last modified: July 23, 2011

Applies to: Outlook

Sets the format in which the converter will return a MIME stream in IConverterSession::MAPIToMIMEStm.

HRESULT IConverterSession::SetSaveFormat ( 
     MIMESAVETYPE mstSaveFormat 
);

mstSaveFormat

[in] The save format to be used for a MIME stream. For more information, see the enum type MIMESAVETYPE.

SAVE_RFC1521

Use MIME, which is the default.

SAVE_RFC822

Use uuencode.

S_OK

The call was successful.

For MFCMAPI sample code, see the following table.

File

Function

Comment

MapiMime.cpp

ImportEMLToIMessage

MFCMAPI uses MimeToMAPI to convert an EML file to a MAPI message.

MapiMime.cpp

ExportIMessageToEML

MFCMAPI uses MAPIToMIMEStm to convert a MAPI message to an EML file.

Show:
© 2015 Microsoft