dirknbr wrote:
I am trying to run

from email.mime.text import MIMEText

but I get an

ImportError: No module named mime.text

Since email was pre-installed how do I fix this?

Dirk
Did you make sure you didn't hide the standard email module by one of your own.
Check
print email.__file__
/usr/lib/python2.5/email/__init__.pyc

If the path is correct, you may want to look in the code, or if anything has changed in 2.6, I guess it is documented somewhere.

JM
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to