Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Reading mail from an exchange mailbox, no Outlook

by tokpela (Chaplain)
on Sep 24, 2010 at 01:26 UTC ( #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
Re^2: Reading mail from an exchange mailbox, no Outlook
by girarde (Friar) 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.

      girarde:

      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".)

      ...roboticus

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2014-12-26 19:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (174 votes), past polls