in reply to Sending attachments with Sendmail

sendmail is just a Mail Transport agent. It doesn't know anything about attachments, it just moves a bunch of text from one place to another.

Have a look at Mime::Lite on the CPAN. It can turn files ('attachments') into something your MTA can handle.

  • Comment on (chromatic) Re: Sending attachments with Sendmail