Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET Security

 AfterLogic Forum : MailBee.NET Security
Subject Topic: Encrypted body of the message Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
mackolo22
Groupie
Groupie
Avatar

Joined: 09 October 2018
Location: Poland
Online Status: Offline
Posts: 41
Posted: 26 March 2019 at 5:26am | IP Logged Quote mackolo22

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 View mackolo22's Profile Search for other posts by mackolo22
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 26 March 2019 at 5:39am | IP Logged Quote Alex

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 View Alex's Profile Search for other posts by Alex
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide