in reply to extract data from a form .. and attach a file in sendmail

Look at the MIME::* (like MIME::Lite) modules, as well as Net::SMTP. These modules will help you with attachments.

Cheers,
KM

  • Comment on Re: extract data from a form .. and attach a file in sendmail