Erik Johnson enlightened us with: > When I run this and view the email I receive in MS Outlook Express, > what I see is the HTML rendered in the body of the message, my body > is not seen anywhere and there is no attachment.
If the HTML document should really be attached, give it a Content-Disposition: Attachment header. Check out the accompanying headers as well, by simply emailing yourself an attached HTML file and examining the email source. Sybren -- Sybren Stüvel Stüvel IT - http://www.stuvel.eu/ -- http://mail.python.org/mailman/listinfo/python-list