On Sun, Mar 30, 2008 at 9:10 PM, paul jobs <[EMAIL PROTECTED]> wrote:
> import web
> web.config.smtp_server='localhost'
> web.sendmail('[EMAIL PROTECTED]','[EMAIL PROTECTED]','Hi there', '<img
> src="http://www.google.com/intl/en_ALL/images/logo.gif">',headers={'Content-Type':
> 'text/html'} )
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "web/utils.py", line 830, in sendmail
> smtpserver = smtplib.SMTP(web.config.smtp_server)
> NameError: global name 'web' is not defined
Have you installed web.py?
Is it accesible to whatever you are running it from in the $PATH?
--
Hermann Käser
http://theragingche.com/
http://semicir.cl/user/hermzz
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---