in reply to Sending An Attachment Using Net::SMTP
Net::SMTP is too lowlevel, printing all the headers and section separators and encoding the data properly etc. etc. etc. is a lot of work. Use Mail::Sender or MIME::Lite.
Jenda