js code:var enum = new Enumerator(Messenger.MyContacts); var contacts = new Array(); for (; !enum.atEnd(); enum.moveNext()) { contacts.push(enum.item().Email); } Debug.Trace(contacts.join(", "));