How to get recipient addresses in IPM.DistList?

I am trying to get recipient addresses in IPM.DistList, which is stored in a public folder (contacts type) in Exchange 2003.

The typeName of the object is Message (with the parent object being the Messages collection), and messageType is "IPM.DistList".

I can find documentation about IPM.DistListItems. The DistListItems documentation does not contain parental capabilities on MSDN.

We have an Exchange 2003 information store with public folders. Inside these shared folders is the [sub] folder (containing items of type "Contact"), which has mailing lists (IPM.DistList) that have contact entries, mostly members of the list.

I need to get the addresses of list members in a subfolder of public folders.

+3
source share
1 answer

Well, more than a year has passed, but I feel some responsibility to answer this question now that I have found it. The answer was, I think that no documentation exists in this Exchange secret bit, but it was able to iterate over the address list inside each ipm.distlist like this:

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

I do not know why "a) (a)" works, but you must have both of them. And I really don't remember if it was a zero-based index, so guess. Good luck, and I hope you can transfer your users from Exchange to Google applications. Really!

+3
source

Source: https://habr.com/ru/post/1713098/


All Articles