note
swiftone
Judging from your code, you appear to be running on [http://www.hypermart.net]. [http://www.hypermart.net/t/development/serverscript/modules| On their site] they say they have [cpan://Mailtools] and [cpan://Mime-Tools] installed for paid users. [cpan://MIME::Lite] is included therin, and should take care of everything you need, and if not, those packages include more advanced tools. (I haven't used [cpan://Mail::Sendmail] recommended by others, but [cpan://Mail::Mailer] is included in [cpan://Mail-tools] and has gotten very good comments from others on this site.
<p>
All the comments mentioned here (and those in reply to you previously at [Dangers of rolling your own mail script]) apply, so I recommend using one of those modules, particularly for something as sticky as attachments.
205424
205424