A Package to enable easy creation of complex multipart emails. 
  If you look for a simple API for creating such emails, 
  then Mail_Mime class will probably suffice. 
  Else you can use Mail_mimePart, which gives you
  better control about MIME creation.
 
  Mail_mimeDecode provides a API for decode
  MIME data.