Skip to content

Commit

Permalink
typo in web.sendmail (pulled from webpy.dev)
Browse files Browse the repository at this point in the history
  • Loading branch information
anandology committed Dec 15, 2007
1 parent 195056a commit 719005d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/utils.py
Expand Up @@ -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:
Expand Down

0 comments on commit 719005d

Please sign in to comment.