希望能为今天困扰我的这个人提供一点帮助:

Outlook.MailItem mail = (Outlook.MailItem)Item;
Outlook.Recipients recips = mail.Recipients;
string toField = recips[1].Address;


我没有得到实际的地址返回。我在MSDN站点上尝试过建议,但是没有运气。具体来说,PR_SMTP_ADDRESS服务已失效:

Const PR_SMTP_ADDRESS As String = _
    "http://schemas.microsoft.com/mapi/proptag/0x39FE001E"


在此先感谢您提供的所有帮助。

最佳答案

使用Recipient.AddressEntry获取AddressEntry对象。检查AddressEntry.Type属性是否为SMTP,只需使用AddressEntry.Address。如果是EX,请使用AddressEntry.GetExchangeUser.PrimarySmtpAddress.

09-27 08:40