Hi All,
I have a number of mail only groups that contain quite a large number of users all the entries in the groups or in the Domino format:-
name surname/staff/org
Is it possible to extract the internet addresses from the names so that I can set up a distribution list on a none Domino system.
I could do this manually by cut and pasting from the person doc. but it would be very slow work.
Any help or advice???
Subject: Extracting internet address from mail only groups
Phil,
it’s not too complicated if you know a little Lotusscript. The members field in the group document is a multi-value field, so what you need to do is to loop through the entries in the members field, do a getdocumentbykey with the currently selected entry on the ($Users) view of the public names and address book, get the InternetAddress field, create a new array, and then add the value of the InternetAddress field as a new entry to this new array.
Finally, write the array to some place you’d like to have it.
To enhance your agent, it could automatically create a new group with a distinct groupname (say, if you’re having the group “Sales”, you’d create a group “Sales-Internet”) and write all the Internet addresses to the members field in this document.
A little bit of testing, but should work pretty nice.
Have fun,
Stephan Holowaty
Principal Certified Lotus Instructor SA&AD
IBM Certified Instructor Websphere App Server (SA)
IBM Certified Instructor Websphere Portal Server (SA)
mailto:stephan.holowaty@holowaty.de