IConverterSession::MAPIToMIMEStm returns E_INVALIDARG

Feb 14, 2011 at 8:18 PM
Edited Feb 14, 2011 at 8:20 PM


Can anybody help me with following issue? Function IConverterSession::MAPIToMIMEStm (if running MFCMAPI application) returns MAPI_E_INVALID_PARAMETER (0x80070057). Any alteration of flags gave me the same error. I searched the web and found an advice that CCSF_NOHEADERS flag had to be set but it didn't work.

I tried this on Windows Server 2003 32b with Outlook 2003 installed. Mail server was Exchange 2007 on Windows Server 2008 64b (also as domain server). In doing so I know installations of Outlook 2003 -> Exchange 2003 where MAPIToMIMEStm works normally and the same installations (Outlook 2003 -> Exchange 2003) where the same error occurs.