in reply to Attach a file using Mail::Bulkmail
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^
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Attach a file using Mail::Bulkmail
by spx2 (Deacon) on Jul 12, 2007 at 14:20 UTC |