FAQ

On Dec 10, 7:55?pm, Lie Ryan wrote:
and, is there any reason why you're not using the email and smtplib?http://docs.python.org/library/email-examples.html
Mainly because I was unaware of them :(

I just read about them and I found all the Subject, From, To classes,
but what about Content-Type?
I need Content-Type: text/html and charset="utf-8" so that I can pass
a basic CSS formatting.
How can I do that? With email.mime.base.MIMEBase?

I'll have to update that in my code later, as I already got it to work
and my current RHEL5.3 default
Python 2.4.3 (#1, Sep 17 2008) install is complaining with
"ImportError: No module named mime.multipart"

Thank you for your patience and feedback

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 8 of 11 | next ›
Discussion Overview
grouppython-list @
categoriespython
postedDec 9, '09 at 2:59p
activeDec 11, '09 at 3:22p
posts11
users5
websitepython.org

People

Translate

site design / logo © 2022 Grokbase