Skip to content

Commit

Permalink
drop debug call
Browse files Browse the repository at this point in the history
  • Loading branch information
PauloPhagula committed Dec 5, 2017
1 parent 9b92092 commit 0517478
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mopa/infrastructure.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,6 @@ def send_mail(to, subject, message, is_html=False, cc=None, bcc=None, reply_to=N
try:
# this doesn't support `with` statement so we do `close` the old way.
mail_server = smtplib.SMTP_SSL(config.SMTP_HOST, config.SMTP_PORT) if config.SMTP_USE_SSL else smtplib.SMTP(config.SMTP_HOST, config.SMTP_PORT)
mail_server.set_debuglevel(1)
mail_server.ehlo()
if config.SMTP_USE_TLS:
mail_server.starttls()
Expand Down

0 comments on commit 0517478

Please sign in to comment.