in reply to Trouble with sending more than one attachment
Where in your code is the loop where you loop over the contents of @files?
You may want something like:
for my $file (@files) { my $att_part = MIME::Lite::->new( 'Type' => 'application/octet-stream', 'Encoding' => 'base64', 'Path' => $file, ); $msg->attach($att_part); };
In Section
Seekers of Perl Wisdom