Skip to content

Commit

Permalink
Fixed issue #48 - SMTPDataError blocks queue.
Browse files Browse the repository at this point in the history
  • Loading branch information
spookylukey committed Oct 16, 2015
1 parent 7a25488 commit 28a317e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mailer/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ def send_all():

except (socket_error, smtplib.SMTPSenderRefused,
smtplib.SMTPRecipientsRefused,
smtplib.SMTPDataError,
smtplib.SMTPAuthenticationError) as err:
message.defer()
logging.info("message deferred due to failure: %s" % err)
Expand Down

0 comments on commit 28a317e

Please sign in to comment.