0 votes

Hello
is there a way to read protected message using IMAP client from your library?

I get the token using graph API and can see the messages, but if message is protected, context of email is hidden and it requires the user to click on link to login again.
Email text looks similar to below:

john doe has sent you a protected message.
Read the message

Thank you
Alex

by

1 Answer

0 votes

If it is a standard SMIME signed or encrypted message, then yes it is possible - Mail.dll can easily decrypt and parse those.

I assume that what you get is not an encrypted message, but rather a message with a link to some external website, that host content.

You'd have to examine eml (MIME) data to be sure:
https://www.limilabs.com/blog/save-raw-eml-file-imap-pop3

by (279k points)
...