using the email module

Sybren Stuvel sybrenUSE at YOURthirdtower.com.imagination
Thu Sep 28 14:14:45 EDT 2006


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/



More information about the Python-list mailing list