|
|
| more useful options | |
| PerlMonks |
Re: Decode a mail with MIME::Parserby RuneK (Sexton) |
| on Sep 03, 2002 at 04:02 UTC ( [id://194699]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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. Any ideas? Thanks, Rune
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||