Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 719005d98bd19050ba7c30ade4e893df74627f6c 1 parent 195056a
@anandology anandology authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  web/utils.py
View
2  web/utils.py
@@ -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:
Please sign in to comment.
Something went wrong with that request. Please try again.