There's a Folders collection in the MAPI namespace. You should be able to index that by name.
-----Original Message----- From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Wagner, David --- Sr Programmer Analyst --- CFS Sent: Monday, July 25, 2011 1:35 PM To: perl-win32-users@listserv.activestate.com Cc: Wagner, David --- Sr Programmer Analyst --- CFS Subject: I have a secondary Inbox folder and trying to read the messages in the 2ndary inbox 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??? I have looked at the OLE browser, but there is way too many things to look at and I am lost at this point..... Thoughts?? If you have any questions and/or problems, please let me know. Thanks. Wags ;) David R. Wagner Senior Programmer Analyst FedEx Services 1.719.484.2097 Tel 1.719.484.2419 Fax 1.408.623.5963 Cell http://Fedex.com/us _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs