如何获取 IPM.DistList 中的收件人地址?
我正在尝试获取 IPM.DistList 中的收件人地址,该地址存储在 Exchange 2003 中的公用文件夹(联系人类型)中。
对象的 typeName 是 Message(其父对象是 Messages 集合),并且消息类型是“IPM.DistList”。
我可以找到有关 IPM.DistListItems 的文档。 DistListItems 文档在 MSDN 中没有列出父项的可能性。
我们有一个包含公用文件夹的 Exchange 2003 信息存储。 在这些公共文件夹中是一个[子]文件夹(包含“联系人”类型的项目),其中包含通讯组列表(IPM.DistList),其中包含联系人条目,本质上是列表的成员。
我需要获取公共文件夹子文件夹中列表成员的地址。
I'm trying to get the recipient addresses within an IPM.DistList that is stored in a public folder (of type contacts) in Exchange 2003.
The typeName of the object is a Message (with a parent object being a Messages collection) and the messageType is "IPM.DistList".
I can find documentation about IPM.DistListItems. DistListItems documentation lists no parent possibilities in MSDN.
We have an Exchange 2003 info store with Public Folders. Within those Public Folders is a [sub]folder (that holds items of type "Contact") that has distribution lists (IPM.DistList's) that have contact entries, members of the list essentially.
I need to get the addresses of the members of the lists in the Public Folder sub-folder.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
嗯,已经过去一年多了,但既然我找到了这个问题,我觉得有义务回答这个问题。 我认为答案是,在 Exchange 的这个秘密位上不存在任何文档,但能够通过以下方式迭代每个 ipm.distlist 中的地址列表:
我不知道为什么“(a)(a )" 有效,但你必须同时拥有它们。 我实际上不记得它是否是从零开始的索引,所以这是一个猜测。 祝您好运,希望您可以将用户从 Exchange 迁移到 Google Apps。 严重地!
Well, it's been over a year, but I feel some obligation to answer this question now that I've found it. The answer was, I think, that no documentation exists on this secret bit of Exchange, but was able to iterate through the list of addresses within each ipm.distlist by something like this:
I don't know why "(a)(a)" works, but you have to have both of them there. And I don't actually remember if it was a zero-based index, so that's a guess. Good luck, and hopefully you can migrate your users off Exchange and into google apps. Seriously!