You probably don't want to do this with big files, as it's all in memory. Then send this with Mail::Bulkmail:my $msg = MIME::Lite->new(..options..); $msg->attach(..file..); my $msg_mime = $msg->as_string;
Hope this helps...my $bulk = Mail::Bulkmail->new(..options..); $bulk->HFM(1); # Headers From Message # send as usual
gav^
In reply to Re: Attach a file using Mail::Bulkmail
by gav^
in thread Attach a file using Mail::Bulkmail
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |