Link to home
Start Free TrialLog in
Avatar of RickJ
RickJ

asked on

Extract GAL from Exchange

I need a code example of how to extract the Global address list from Microsoft Exchange.
Any help greatly appreciated.
ASKER CERTIFIED SOLUTION
Avatar of cqhall
cqhall

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of RickJ
RickJ

ASKER

Thanks for the comment cqhall. I will investigate EasyMAPI and see if it suits. Could you answer this for me, Is it possible with EasyMAPI to retrieve the GAL and then create a calendar entry for anyone in the list.
The calendar entry needs to be entered without any interacion from the person receiving the calendar entry.
I will get back to you soon. I will increase the points for any extra help you provide.
>> Is it possible with EasyMAPI to retrieve the GAL and then create a calendar entry for anyone in the list.

Depends - you have to be able to navigate to the calendar in the folder list.  In other words, the calendar must be a public calendar (somewhere below "Public Folders") or in a mailbox defined on the logged in machine, such as the (logged in)user's personal mailbox.  

You can't add an event to a different user's personal calendar based on delegate authority to write to it (i.e., "File, Open, Other User's Folder").  I wanted my program to be able to add calendar entries to users for whom the secretary had delegate authority when my application was run by the secretary, but neither I nor the EasyMapi author (Peter Wolters @ rapware) could figure out how to do that.  
SOLUTION
Avatar of Eddie Shipman
Eddie Shipman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of RickJ

ASKER

Sorry for the delay in posting a comment. I have been on holidays. I now have enough information to get started with my project.
I would like to split the points on this question.
200 for cqhall and 50 for EddieShipman. Is this fair?? Please let me know.

Thanks for all your help
I'm not really after points - split 'em any way you want. I'm just glad to help.  

If you take the EasyMapi approach, I can send you a wrapper I'm working on that simplifies some of the operations.  It's a work in process with one-line commands to send an email, resolve an email name, create an appointment, extract the current user's email name/SMTP address/company, etc.  I'll have to extract a few routines from helper units (or include them, but they call other units, etc.)
Avatar of RickJ

ASKER

I have decided to use EasyMapi so it would be great if you could send me your wrapper.
Send to rkjoseph@tpg.com.au
Many Thanks
Rick