获取“发送”或“代表”来自Exchange Server的信息
如我们所知,您可以在Exchange Server上授予一份许可,允许用户(FOO)以“许可涂度(bar)”的名称发送电子邮件。
- 代表 - >来自: [emage  procented] -cgi/l/电子邮件保护“ class =” __ cf_email__” data -cfemail =“ e88a899aa88a8992c6999990”> [email  protected]
- 发送为 - >来自: [email  prectioned]
由Exchange控制 - 邮件通过交换后立即设置了相应的字段。
- 发送为 - > “来自: [email  procected] ”。
- 代表 - > “来自: “/CDN-CGI/L/电子邮件保护” class =“ __ cf_email__” data-cfemail =“ C3A5ACAC83A1A2B9EDB2B6BB”> [email  prectioned] ”。
现在是我的问题: 有没有办法获得控制收件人外观的交换规则?例如,通过MAPI接口或Exchange Web服务?
As we know, there is a permission you can grant on the Exchange server that allows a user (foo) to send email in the name of as the permission granter (bar).
- On behalf of -> From: [email protected] on behalf of [email protected]
- Send as -> From: [email protected]
How the from field appears in the recipient’s email is controlled by the Exchange - as soon as the mail passes the Exchange the corresponding fields are set.
- Send as -> "from: [email protected]".
- On behalf of -> "from: [email protected]" and "sender: [email protected]".
Now it comes to my question:
Is there a way to get the Exchange rule which controls the appearance for the recipient? For example, via the MAPI interface or Exchange Web Service?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当Outlook代表用户发送时,设置了大约六个
pr_sent_representing_xyz
MAPI属性,始终包括电子邮件地址和名称 - 您可以在 outlookspy (我是它的作者) - 单击iMessage按钮。当您使用
MailItem.SentonBehalfofName
om中的属性时,您只能设置名称(如果名称模棱两可,这可能是一个问题)。但是,当消息输出时,将解决名称名称,将设置pr_sent_representing_xyz
mapi属性。When Outlook sends on behalf of a user, about half dozen
PR_SENT_REPRESENTING_xyz
MAPI properties are set, email address and name are always included - you can see these properties in OutlookSpy (I am its author) - click IMessage button.When you use
MailItem.SentOnBehalfOfName
property in OOM, you can only set the name (which can be a problem if the name is ambiguous). But when the message goes out, name name will be resolved, thePR_SENT_REPRESENTING_xyz
MAPI properties will be set.