ews java api maven_通过Outlook Web加载项更改电子邮件敏感度(Changing Email sensitivity via Outlook Web Add-ins)...

I'm trying to create an Outlook Web Add-in that will alter the sensitivity of the email itself.

Going through the documentation, I see that there is an "AlterSensitivity" method that is available on the Office.context.mailbox.item object, but I cannot figure out how to make it work.

Basically, I just want the user to click the toggle button which will change the sensitivity from confidential to normal, or normal to confidential. I know I'm not really posting any code, but I'm not sure what value that would provide.

Here is a pseudo-code mock-up:

User Clicks button

code checks message sensitivity

if sensitivity is normal, change to confidential and toggle the button to be pressed

If sensitivity is confidential, change to normal, and toggle the button to not be pressed.

Hopefully that makes sense, thanks for all your help!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值