I was recently trying to send email with an attached file and didn't realize how hard and cumbersome it was. So after searching high and low trying various solutions for a couple of hours and caved. I remembered that the Pear library still exists right beneath my nose.
First I updated the pear lib seeing it's there but no up to date and then installed the required libraries.
# pear channel-update pear.php.net
# pear install Mail
#pear install -a Mail_Mime