Does anyone know how to read the Microsoft Outlook's MailItem or Redemption's RDOMail into a MemoryStream so that MimeKit's ParseMessage could take it?
I am trying to read a p7s signature from the email and I'm not sure how to to do it. I've already gone through many places and documentations.
Can someone give an example?
RDOMail.Attachments will contains the p7m attachment. You can just save it as a file using RDOAttachment.SaveAsFile.