>-----Original Message-----
>From: Jan Dubois [mailto:[email protected]]
>Sent: Monday, July 25, 2011 12:24
>To: 'Wagner, David --- Sr Programmer Analyst --- CFS'; perl-win32-
>[email protected]
>Cc: Wagner, David --- Sr Programmer Analyst --- CFS
>Subject: RE: I have a secondary Inbox folder and trying to read the
>messages in the 2ndary inbox
>
>On Mon, 25 Jul 2011, Wagner, David --- Sr Programmer Analyst ---
>CFS wrote:
>>
>>      I got some code from a reply I found on Perl Monks and brought
>> over to my Desktop and ran the code. It does what I am after, BUT I
do
>> not want the default inbox, but another inbox.
>>
>>      The code for the default inbox is:
>>
>>      my $folder = $namespace->GetDefaultFolder(olFolderInbox);
>>
>>      How do I get a different folder to read from messages from???
>
>Sorry, no time to test right now, but I suspect something like this
>might work:
>
>my $folder = $namespace->Folders("Outlook Data
File")->Folders("Alternate
>Input");
>
        Thanks, Jan. That was close, but what I ended up was doing a
properties against the other inbox:
\\Mailbox - Email.Reports
        So I removed the \\ and used that portion for the first Folders
and for the second Folders used Inbox and was able to read...

        I appreciate the insight.
        Know you are busy, but when the time is available, where does
one find out such info. Never would have found it. I looked at the MS
Outlook 12.0 Object Library. I found Folders and if that is the right
Folders, I do not see it..

        Again, I have it going, but when you have sometime to drop a few
pointers, it would be greatly appreciated...
>Cheers,
>-Jan
>

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to