|Welcome to the Monastery|
Re: Decode a mail with MIME::Parserby RuneK (Sexton)
|on Sep 03, 2002 at 08:02 UTC||Need Help??|
Hi again, Thanks for the answer but I cannot seem to get your part with the mbox to work.
I'm using the .procmailrc with the following statement:
:0 | /tmp/mailparser.pl> /tmp/test.log
So I'm parsing the mail directly to the script which should read it through STDIN.
I changed the print (to,from,subject,body) to print to a file instead because that is what I need, but the file is empty. The script now looks like this:
The file is created so it's not a permission problem but it is empty. The MboxParser.pm is just installed.