Just another Perl shrine | |
PerlMonks |
Win32::OLE Outlook help requestedby bassplayer (Monsignor) |
on Nov 28, 2002 at 00:40 UTC ( [id://216212]=perlquestion: print w/replies, xml ) | Need Help?? |
bassplayer has asked for the wisdom of the Perl Monks concerning the following question:
Good Afternoon Fine Monks, I am forced to use Oulook 2000 at work. I suddenly started receiving a TON of SPAM and my administrator told me to send him the message headers from the spam so that he could get the Return-Path out of it and use it to bounce the offending email at the server level. Not wanting to waste a bunch of time, I decided to write a short program to interact with my Outlook and extract the info I needed. I have it done (see below), but I am not able to get the return path, because I don't have the right constant. The closest thing I have found is ReplyRecipientNames. I have checked out the M$ Outlook 9.0 Object Library which is on my machine from the ActiveState install at D:\Perl\html\OLE-Browser\Browser.html, but I haven't found what I need. I need the Return-Path or the entire message header so I can parse it out myself. Any insight out there?
Any help is MUCH appeciated. Update: Changed $|++ to $|=1. bassplayer
Back to
Seekers of Perl Wisdom
|
|