Outlook 收件人。地址返回不正确的数据
如果我从contacts(outlook插件)中获取用户并执行以下操作:Outlook 收件人。地址返回不正确的数据,outlook,outlook-addin,Outlook,Outlook Addin,如果我从contacts(outlook插件)中获取用户并执行以下操作: Outlook.Recipient recipient = c.GetMember(i); AplicationLog(recipient.Address); 它将返回以下内容: /0=:someData:/ou=Exchange Administrative Group (:someData:)/cn=Recipients/cn=:curentUserName:eed 它将“eed”添加到用户名中。而且只有一个 为什
Outlook.Recipient recipient = c.GetMember(i);
AplicationLog(recipient.Address);
它将返回以下内容:
/0=:someData:/ou=Exchange Administrative Group (:someData:)/cn=Recipients/cn=:curentUserName:eed
它将“eed”添加到用户名中。而且只有一个
为什么会这样?我怎样才能解决这个问题
另外,在打印之前,我不会对这些数据做任何处理。这看起来像是一个完全有效的EX(相对于SMTP)地址。 如果
AddressEntry.Type
是“SMTP”,只需使用AddressEntry.Address
。如果Type==“EX”,则使用AddressEntry.GetExchangeUser().PrimarySmtpAddress
。AddressEntry对象由收件人返回。AddressEntry
属性