0 votes

when convert the .msg file ,exported by outlook and is an encrypted and signed mail, to Imail ,
The message said
"The file provided is not IPM.Note,IPN.Note.SMIME.MultipartSigned, its message class is IPM.Note.SMIME instead"

I guess that the private key should set in somewhere , Can MsgConverter set a private key to do that?
Here is the code.
Thanks

MsgConverter converter = new MsgConverter("encrypt-signed-mail.msg");
Msg2IMailConfiguration configuration = new Msg2IMailConfiguration();
email = converter.CreateMessage(configuration);
by (200 points)

1 Answer

0 votes

Are you sure that you are using the latest version of Mail.dll?

I think that currently MsgConverter doesn't support encrypted msg messages, but I'd need to check that.

[Edit]

Latest version supports all encrypted/signed versions of MSG messages.

by (297k points)
edited by
yes, im using the latest version of Mail.dll.
Thanks for your help first
...