Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Reading mail from an exchange mailbox, no Outlook

by tokpela (Chaplain)
on Sep 24, 2010 at 01:26 UTC ( [id://861714]=note: print w/replies, xml ) Need Help??

in reply to Reading mail from an exchange mailbox, no Outlook

Reading the documentation for Email::Folder::Exchange, it looks like this module works through the Outlook Web Access.

If you do not have Outlook Web Access enabled and want to access an Exchange Server without Outlook, you will have to use CDO (Collaboration Data Objects) which provide a COM based API to connect to a MAPI store.

I connected to Exchange through Perl using Outlook Redemption which allowed for better script integration.

As for getting the current user and password information, I am not sure how this would not be a major security hole!

I have not tried the Win32::IntAuth but maybe this would allow you to impersonate your Exchange user and connect via CDO/RDO as mentioned above.

  • Comment on Re: Reading mail from an exchange mailbox, no Outlook

Replies are listed 'Best First'.
Re^2: Reading mail from an exchange mailbox, no Outlook
by girarde (Hermit) on Sep 24, 2010 at 19:49 UTC
    I do have an OWA server available, it's merely that Outlook will not be installed on the server that script will be running on. I'll check CDO and the other modules.


      You don't need Outlook to access the OWA server. You can do just fine with normal web access (e.g. LWP). I had a similar problem a few years back, and that's how we got around it. (Note: "We" as in "Someone else on my team did the work".)


Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-14 10:07 GMT
Find Nodes?
    Voting Booth?

    No recent polls found