Thanks AM. I really need to learn more about Win32::OLE. This page provided me with what I was looking for:

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q208520

What I needed to use was the folders object. Here's the description:

Folders Object

You can use the Folders object to refer to any folder that is visible in the Outlook folder list. This object is typically used to refer to an Exchange public folder or any other folder that is not a default Outlook folder.

Note that you typically start at the top-most folder and work your way down to the folder you need to reference. Also note that the folder names are case-sensitive and must exactly match the names as they appear in the Outlook folder list.

And here's what my code looks like:

my $namespace = $outlook->GetNameSpace("MAPI") or die "can't open MAPI + namespace\n"; my $myFolder1 = $namespace->Folders("Public Folders"); my $myFolder2 = $myFolder1->Folders("All Public Folders"); my $myFolder3 = $myFolder2->Folders("MITSL"); my $myFolder4 = $myFolder3->Folders("Conference Facility Schedules"); my $myFolder5 = $myFolder4->Folders("R523 - Conf Room M"); my $recurringitems = $myFolder5->{Items}; my $calitems = $myFolder5->{Items};

In reply to Re: Outlook public folders by Jules_Verne
in thread Outlook public folders by Jules_Verne

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.