Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Re: Perl with Outlook Calendar

by chiller (Scribe)
on Sep 06, 2001 at 23:09 UTC ( [id://110705]=note: print w/replies, xml ) Need Help??


in reply to Re: Perl with Outlook Calendar
in thread Perl with Outlook Calendar

Speaking of Exchange, I might find myself in a situation where I have to write a script to say, make batch updates to all users and/or contacts in an Exchange db...

What am I in for..? Can this be done? Otherwise it's importing and exporting CSV's...

Replies are listed 'Best First'.
Re: Re: Re: Perl with Outlook Calendar
by Corion (Patriarch) on Sep 07, 2001 at 00:20 UTC

    Writing to Exchange is easy as long as you can use the Outlook Object Model. When I used the Outlook Object Model to do live caller-id lookup against a contacts database of about 400 Contact Items on an Exchange (4) server, I found the Outlook Object Model to be abysmally slow for searching through all these contacts. I had (not with Perl, mind you) to turn to true MAPI, which is more or less like SQL without the ASCII command syntax, and you have to manage the result tables yourself. MAPI has the great performance you'd expect from a relational database, but interfacing MAPI to Perl is really hard.

    To set the value of a property via the OOM, just assign to that property. As (I guess) this will be a one off job, time is not that important, and you can try to use the Outlook Object Model. Stuff you can't do with the OOM is for example change or preserve sociations between Outlook Items, as there is not much way to get at the MAPI unique item IDs.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://110705]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2024-04-17 03:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found