In the case of a single message you would be better off modifying the above to slurp the message off the STDIN into a scalar and pass that to the constructor of Email::Simple, then do much the same as the above
/J\
In reply to Re^3: forwarding emails with perl??
by gellyfish
in thread forwarding emails with perl??
by chrisj0
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |