Hi!
My quest is to send a file via e-mail on a system where it's not possible to install a module for the purpose. So, I'm "stuck" with the following:
$mailprog = "/usr/sbin/exim -t -i -f";
open (MAIL, "|$mailprog");
print MAIL "From: Me <me\@myself.com>\n";
print MAIL "To: john\@doe.com\n";
print MAIL "Subject: Test";
print MAIL "This is a test\n";
close(MAIL);
(of course there are other solutions available since there's "more than one way to do it"...)
So, my question is, is it possible to expand the code snippet above to attach a file?