[Tutor] newbie: trouble importing email module
Craig Davey
craig@eigentone-solo-collective.net
Thu Mar 13 09:53:03 2003
Hey folks
I'm very new to python, but I'm trying to create a simple cgi script
that will send an email message. So I started out trying to construct a
message using the email.Message module, unfortunately it seems like my
isp is missing this module. Example:
>>> import email
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: No module named email
>>>
The version I am using is 2.1.2 on an OpenBSD system. I'm wondering if
I'm doing something completely wrong or not because I thought the email
module was part of the standard distribution. And if not, I'm wondering
if the name of the module has changed, or if it's possible to list all
available modules in some way. Any help would be most appreciated.
Thanks.
-----
seeyame