|
|
| Think about Loose Coupling | |
| PerlMonks |
Re: How do I search for Subject Title in Outlook?by Kanji (Parson) |
| on Oct 31, 2005 at 15:00 UTC ( #504281=note: print w/ replies, xml ) | Need Help?? |
|
Win32::OLE works great for accessing Outlook from Perl, with the below iterating over all the messages in your Inbox (but possibly not sub-folders).
However, if you do plan on doing something further with $email once you've found the right message, it is essential that you use ActivePerl's OLE browser, thumb through the MSDN Library and/or Google liberally for example usage as knowing what to access or look for in the OLE objects is 99% of the battle! --k. Update: s/ eq /\n if $email->Subject eq /; # oops
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||