使用托管API EWS获取发件人的别名和域
问题描述:
我的工具正在处理收到的电子邮件。要与我们的其他内部服务集成,我需要将发件人的电子邮件地址解析为用户别名。问题是用户'johnsm'可能有电子邮件地址'john.smith@domain.com'。有没有可靠的方法呢?
My tool is processing incoming emails. To integrate with our other internal services I need to resolve sender's email address to user alias. The problem is that user 'johnsm' might have email address 'john.smith@domain.com' . Is there any reliable way to do it?
答
您必须直接与Active Directory服务器通信才能这样做。 EWS无法使用此功能。
You will have to do this by talking to your Active Directory server directly. This functionality is not available via EWS.