While I may not know how to do this (or want to), I do know how to find out. One is by searching this site like
this and another is to google
Win32::OLE OUTLOOK. Both methods are covered in
How to RTFM, along with other invluable perl resources (I really like and promote this great guide a lot. Heck, with its help there is very little I can't do).
I came up with many many promising links, like
Re: Win32::Daemon and Outlook,
Send email (and attachments) with Outlook,
Using Perl to look in Outlook public folders..
which, along with the Win32::OLE pod should explain how to use Win32::OLE.
Now you should google microsoft.com to figure out how to get Outlook to do what you want it to do through OLE, and translate that into some perl source code.
Check out http://www.execpc.com/~dg/tutorial/howmapi/howmapi.htm, after which you ought to be able to come up with some perl code to do this.
If run into any snags, just go ahead and post it here and i'm sure someone will be able to help you.
(I dont' have outlook, otherwise I might try to do it)
____________________________________________________
** The Third rule of perl club is a statement of fact: pod is sexy.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.