Instead of printing to the file just append all the output to a scalar and then pass that to MIME::Lite->new() using the Data option rather than Path.
/J\
In reply to Re: HTML file or in-memory ?
by gellyfish
in thread HTML file or in-memory ?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |