generating emails from Python

Tim Williams listserver at tdw.net
Thu Oct 7 06:32:40 EDT 2004


>Is it possible, using email.MIMEMessage, to generate an email
>with both HTML and plain text content, in such a way that:

>1) it is displayed as HTML if the email client recognizes HTML;
>2) it is displayed as plain text if the email client is HTML impaired?

It should be,   though I haven't tried it.

This page might help you work out what you need to do.
http://www.wilsonweb.com/wmt5/html-email-multi.htm

HTH




More information about the Python-list mailing list