我想使用 Outlook API 或 Outlook 兑换执行以下(伪代码)
var sourceMessage = Folder.Item[count];
//Check if source is encryted
if(sourceMessage is EncryptedMessageType)
{
//Created a new message on target destination, and copy encrypted bytes
var targetItem = TargetFolder.Items.Add(EncrytedMessageType)
targetItem.Body = sourceMessage.Body;
targetItem.EncryptionType = sourceMessage.EncryptionType;
targetItem.Save();
}
这可能吗?
我查找了 RDOEncryptedMessage 对象,但所有属性看起来都是只读的。