in reply to MIME::Lite and taint
Update: See gellyfish's post.
You also might want to consider sending the message using SMTP so you don't have to exec anything:
$msg->send('smtp', 'localhost', Timeout => 60); [download]
gav^