IConverterSession::SetSaveFormat
Applies to: Office 2010 | Outlook 2010 | Visual Studio
Sets the format in which the converter will return a MIME stream in IConverterSession::MAPIToMIMEStm.
HRESULT IConverterSession::SetSaveFormat (
MIMESAVETYPE mstSaveFormat
);
Parameters
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.
Return Values
- S_OK
The call was successful.
MFCMAPI Reference
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. |
See Also
Reference
IConverterSession::MAPIToMIMEStm
IConverterSession::SetEncoding
IConverterSession::SetTextWrapping