When I get an Email:
PropertySet itempropertyset = new PropertySet(BasePropertySet.FirstClassProperties)
itempropertyset.Add(ItemSchema.MimeContent);
itempropertyset.Add(ItemSchema.Attachments);
itempropertyset.RequestedBodyType = BodyType.Text;
src = _Exchange.LoadPropertiesForItems(findMails, itempropertyset);
and the message was sent with S/MIME, how do I get the Text decoded?
Assume: EmailMessage em;
em.Body.Text is null
em.MimeContent.Content is a byte array, but I need to decode this