C # + Information Rights Management

I need to avoid forwarding in emails that I send using .NET. I use Outlook and Exchange server and I read that IRM can help me. Does anyone have any sample code or know if this is possible?

+4
source share
2 answers

It looks like you could use Microsoft Outlook 2010 Primary and set the PermissionTemplateGuid of the MailItem property that you are sending.

Please note that you need to know the IRM Policy Guide, which prevents sending emails.

+1
source

You cannot send IRM mail programmatically in Outlook 2010. IRM mail is actually a regular email message with an encrypted attachment, and Outlook does not provide the correct API for creating an encrypted attachment and changing the type of mail.

The only way to do this from C # code is to use ActiveSync and send mail directly to Exchange. Unfortunately, with Exchange 2010, only licensed providers can use ActiveSync.

See http://www.microsoft.com/about/legal/en/us/intellectualproperty/iplicensing/programs/exchangeactivesyncprotocol.aspx for details.

In addition, if you go down the guid template configuration path, be aware that the DoNotForward template manual is hard-coded - if it really works (it is not tested and not supported, so you will vary by distance), then you need not worry about finding a template RMS

0
source

Source: https://habr.com/ru/post/1345774/


All Articles