Hello
Is this the correct way to go to decrypt?
If MyMailMessage.IsEncrypted = True Then MyMailMessage = MyMailMessage.Decrypt()
When inside Using:
Using MyMailMessage As MailMessage = MailMessage.Load…
MailMessage = Read-Only Error
End Using
No other way to decrypt in place?
When converting Encrypted secure messages to each others’ format, ie eml to msg or msg to eml, the encryption and signatures will preserve in this way?
Using MyMailMessage As MailMessage = MailMessage.Load(Source, LoadOptions)
MyMailMessage.XMailer = …
Using MyMapiMessage As MapiMessage = MapiMessage.FromMailMessage(MyMailMessage, Mail2MapiOptions)
MyMapiMessage.Headers.Set…
MyMapiMessage.Save…
Note that I altered XMailer in both instances, this code will preserve the encryption certificates and signatures? (Assuming set in Load/Save options)
SecureEmailManager is not in online help