code:
var EmailAddresses = new Array()
for (var e = new Enumerator(Messenger.MyContacts); !e.atEnd(); e.moveNext() ) {
EmailAddresses.push(e.item().Email); // add the Contacts email address to the end of the array
WndEmail.Combo_AddItem("Email", e.item().Email);
}
Or if you are as so inclined to create a loop to fill the Combo box...
code:
for (var i in EmailAddresses) {
WndEmail.Combo_AddItem("Email", EmailAddresses[i]);
}