none
EWS api, how to read signed emails RRS feed

  • Question

  • Hello,

    I have a nice little application that reads emails from office365.

    Emails with attachments are processed to a database.

    One sender sends signed emails. I cant read them.

    I think I need to handle the attached digital certificate somehow.

    Is there any example code available?

    tnx

    frank

    Friday, July 5, 2019 11:01 AM

All replies

  • s/mime signed mails usually have a regular Body with type text or html which you should be able to read.

    The signature is used to verify if this Body (among other things).

    These mails have an attachment in the s/mime Format, usually smime.p7s or smime.p7m.

    How to process them depends on your platform, unless you find a good library it is not an easy Task. On Java you can use bouncycastle for example.

    Friday, July 26, 2019 9:44 AM