Using Perl to Automate Exchange 2000 Tasks? 17
en4ca asks: "We have
recently started using Exchange 2000 on a W2k platform with Active
Directory at work. Previously, we used a mailsystem that could be
easily controlled by command-line paramaters (and hence by perl).
What I wanted to ask was, has anyone used perl to automate boring,
mundane tasks in Exchange like mass creating mailboxes? What did you
use to do this? [code would be very much appreciated] I've tried
using Win32::OLE, but havn't had much success"
Scripting Exchange 2K (Score:2)
Trolls (Score:1)
Re:Trolls (Score:3, Informative)
Otherwise, Netscape etc. work as decent IMAP clients - as long as you don't expect to use calendar/scheduling, tasks or notes!
Re:Trolls (Score:2, Informative)
http://www.bynari.net
Re:The real way to do it (typical pro-linux /. rep (Score:1)
Sigh. Maybe I'm increasing my boss' total cost of ownership after all.....
Re:Step back and think (Score:1)
Re:Step back and think (Score:1)
You keep using that word. I do not think it means what you think it means.
(with apologies to Princess Bride).
Actually, the last time I heard the words "Microsoft products" and "Turing-complete", it was in the context of how too many Microsoft features are essentially Turing-complete, specifically things like Word Macros.
Check out this book (Score:2)
Other interfaces (Score:4, Informative)
You can also get in over LDAP. This can be done nicely from perl with the 'Net::LDAP' module, available under the name 'perl-ldap' from CPAN and with a homepage on sourceforge.
It is a useful interface, the biggest hurdle you are likely to face is authenticating yourself properly to the directory. There may be bits and pieces of example code in the distribution, otherwise do the web search thing and check the mailing list (and archives) for answers.
Re:Other interfaces (Score:1)
Just another case of MS supporting 'open' standards: jam two of them together into a bastard blend that only MS can/will support...
Use Exmerge (Score:1)
Have fun.
Hm. (Score:2)
If it works well, then you can read MS docs to figure out what kind of COM interfaces are exposed by Exchange, and work from there.