in reply to how to attach file in sendmail
See one of the many modules on CPAN, such as MIME::Lite. Googling "email attachments perl" yields lots of examples including one from The Perl Cookbook.
If you have permission to change the script, you probably have permission to install modules in your own directory. If you decide you can't do that, the modules you should use show you how to code the problem. :)
Good luck!
|
|---|