Permalink
Browse files

typo in web.sendmail (pulled from webpy.dev)

  • Loading branch information...
1 parent 195056a commit 719005d98bd19050ba7c30ade4e893df74627f6c @anandology anandology committed Dec 15, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 web/utils.py
View
@@ -827,7 +827,7 @@ def sendmail(from_address, to_address, subject, message, headers=None):
if webapi.config.get('smtp_server'):
import smtplib
- smtpserver = smtplib.SMTP(web.config.smtp_server)
+ smtpserver = smtplib.SMTP(webapi.config.smtp_server)
smtpserver.sendmail(from_address, [to_address], message)
smtpserver.quit()
else:

0 comments on commit 719005d

Please sign in to comment.