A
Albert Silliman
I am using VBScript to iterate through Exchange mail users
and access each user's contacts via MAPI using the
following code:
//logged on as Exchange Administrator
Set ol = CreateObject ("Outlook.Application")
Set ns = ol.GetNameSpace ("MAPI")
.....
// for each user get Contacts folder
Set contacts = ns.GetSharedDefaultFolder (myRecipient, 10)
// read contacts, etc.
The above code works against Exchange 5.5 but NOT against
Exchange 2K. If anyone has any ideas what needs to be
done differently in Win 2K, I would be very grateful for
your help.
and access each user's contacts via MAPI using the
following code:
//logged on as Exchange Administrator
Set ol = CreateObject ("Outlook.Application")
Set ns = ol.GetNameSpace ("MAPI")
.....
// for each user get Contacts folder
Set contacts = ns.GetSharedDefaultFolder (myRecipient, 10)
// read contacts, etc.
The above code works against Exchange 5.5 but NOT against
Exchange 2K. If anyone has any ideas what needs to be
done differently in Win 2K, I would be very grateful for
your help.