I'm trying to use PHP on windows to send a MIME-encoded message (because it includes attachments) through an SMTP server which requires authentication. There's a great class for using SMTP, and a great one for sending MIME, both on Zend.com, but it's quite a chore trying to combine them. Is there an easier way to do this, or do I really need to be combining these two classes?