Author |
|
mackolo22 Groupie
Joined: 09 October 2018 Location: Poland
Online Status: Offline Posts: 41
|
Posted: 26 March 2019 at 5:26am | IP Logged
|
|
|
Hello,
I would like to know if there is any property in MailMessage class that represents encrypted body part of the message?
Let's say that I have following message in .eml file:
Subject: test
From: test@com.eu
To: test@com.pl
Content-Type: application/pkcs7-mime; smime-type="enveloped-data";
name="smime.p7m"
Content-Disposition: attachment; name="smime.p7m"
Content-Transfer-Encoding: base64
ENCRYPTEDMESSAGE
After loading that message to MailMessage object is there any way to get access to encrypted part containing "ENCRYPTEDMESSAGE"?
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 26 March 2019 at 5:39am | IP Logged
|
|
|
Hello,
You can iterate through MailMessage.Attachments collection of the original (encrypted) message. The smime.p7m attachment will be there.
Regards,
Alex
|
Back to Top |
|
|