如何获取 IPM.DistList 中的收件人地址?

发布于 2024-07-29 10:37:14 字数 383 浏览 5 评论 0原文

我正在尝试获取 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

混浊又暗下来 2024-08-05 10:37:14

嗯,已经过去一年多了,但既然我找到了这个问题,我觉得有义务回答这个问题。 我认为答案是,在 Exchange 的这个秘密位上不存在任何文档,但能够通过以下方式迭代每个 ipm.distlist 中的地址列表:

for a = 0 to list.count-1
   emladdress = list(a)(a).value
next

我不知道为什么“(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:

for a = 0 to list.count-1
   emladdress = list(a)(a).value
next

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!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文