Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

magic-removal: Fixed #1384: Don't return when sending email fails, ju…

…st skip to the next address.

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2443 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit a86b6287deb78de7936177ea86177e2ee0e9c8f3 1 parent a3aa545
Duncan Foster authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 django/core/mail.py
5 django/core/mail.py
View
@@ -47,9 +47,8 @@ def send_mass_mail(datatuple, fail_silently=False):
server.sendmail(from_email, recipient_list, msg.as_string())
num_sent += 1
except:
- if fail_silently:
- return
- raise
+ if not fail_silently:
+ raise
try:
server.quit()
except:
Please sign in to comment.
Something went wrong with that request. Please try again.