Hi, Perl: Activestate 5.6.1, OS Windows 2000, Outlook 200, Exchange 5.5

I'm trying to automate reading email from a public folder and write the results to a webpage. I am able to use
Win32::OLE, Ex: $Outlook=Win32::OLE->new('Outlook.Application');
successfully from the command line, but can't schedule the code, since the Task Scheduler service doesn't load the user registry hive. This is actually a problem for any of the Office products.

I was hoping someone had an alternative way of reading mail from Exchange/Outlook that could also be scheduled.

I have heard of a module that seems promising, but the link to the download has been broken for some time, Win32::MAPI, http://www.generation.net/~aminer/Perl/

It's also not available on CPAN.

Any information, sample code or links would be much appreciated, thank you.

Mitch

edited: Fri Jun 27 16:24:52 2003 by jeffa - s/<br><b>/<br><br>/


In reply to Mail & Win32 by Mitch

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.