Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

How do I search for Subject Title in Outlook?

by gasho (Beadle)
on Oct 31, 2005 at 14:05 UTC ( [id://504264]=perlquestion: print w/replies, xml ) Need Help??

gasho has asked for the wisdom of the Perl Monks concerning the following question:

I would like to search my Inbox in Outlook for Subject Title. e.g I received a new e-mail with Subject:Build 50.2 I can find it with Google Desktop but I need Perl's help ? Thank You gasho
  • Comment on How do I search for Subject Title in Outlook?

Replies are listed 'Best First'.
Re: How do I search for Subject Title in Outlook?
by Kanji (Parson) on Oct 31, 2005 at 15:00 UTC

    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

      Thanks A Lot. You saved my day :) Gasho
Re: How do I search for Subject Title in Outlook?
by barbie (Deacon) on Oct 31, 2005 at 22:00 UTC
    At the risk of blowing my own trumpet, you could have a look at Mail::Outlook on CPAN ;)

    --
    Barbie | Birmingham Perl Mongers user group | http://birmingham.pm.org/

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://504264]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-19 14:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found