本文介绍了阻止电子邮件发件人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无论如何,您是否可以创建一个代码,当您单击一个按钮(我已经创建了此代码)时,它将接收选定的电子邮件并阻止发件人删除该电子邮件?

Is there anyway you can create a code, when you click a button (I've already created this) it will take the selected email and block the sender which will delete the email?

推荐答案

Outlook对象模型完全不公开被阻止/安全的发件人.如果使用兑换是一种选择,则它会公开 RDOJunkEmailOptions 对象(从 RDOSession .JunkEmailOptions RDOAccount .JunkEmailOptions RDOExchangeMailboxStore .JunkEmailOptions),它允许使用.

Outlook Object Model does not expose blocked/safe senders at all.If using Redemption is an option, it exposes RDOJunkEmailOptions object (returned from RDOSession.JunkEmailOptions, RDOAccount.JunkEmailOptions, RDOExchangeMailboxStore.JunkEmailOptions), which allow to add blocked senders using RDOJunkEmailOptions.BlockedSenders.Add.

这篇关于阻止电子邮件发件人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-22 03:29