Z
zippy
Has anybody tried the code in Microsoft Knowledge Base Article -
171907 with Native Microsoft S/MIME messages (IPM.Note.SMIME,
IPM.Note.SMIME.MultipartSigned)?
The code is here:
<http://support.microsoft.com/defaul...port/kb/articles/q171/9/07.asp&NoWebContent=1>
This code works great with messages of any message class except those
allocated to Native Microsoft S/MIME messages. The CopyTo call
returns MAPI_E_CALL_FAILED.
I am using this code in OnWriteComplete to save attached S/MIME
messages to a file when a user clicks "Send".
I tried changing the message class right before the CopyTo call to
something else, but CopyTo still fails. However, if I use
OnSelectionChange to successfully change the message class to
something else before OnWriteComplete is called, then the CopyTo in
OnWriteComplete works fine. The message is otherwise exactly the same
as the one that failed with the S/MIME message class.
Has anybody encountered this? Has anybody found a workaround for
this?
Thanks,
-zip
171907 with Native Microsoft S/MIME messages (IPM.Note.SMIME,
IPM.Note.SMIME.MultipartSigned)?
The code is here:
<http://support.microsoft.com/defaul...port/kb/articles/q171/9/07.asp&NoWebContent=1>
This code works great with messages of any message class except those
allocated to Native Microsoft S/MIME messages. The CopyTo call
returns MAPI_E_CALL_FAILED.
I am using this code in OnWriteComplete to save attached S/MIME
messages to a file when a user clicks "Send".
I tried changing the message class right before the CopyTo call to
something else, but CopyTo still fails. However, if I use
OnSelectionChange to successfully change the message class to
something else before OnWriteComplete is called, then the CopyTo in
OnWriteComplete works fine. The message is otherwise exactly the same
as the one that failed with the S/MIME message class.
Has anybody encountered this? Has anybody found a workaround for
this?
Thanks,
-zip