Skip to content

Commit

Permalink
magic-removal: Fixed #1384: Don't return when sending email fails, ju…
Browse files Browse the repository at this point in the history
…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
Duncan Foster committed Feb 28, 2006
1 parent a3aa545 commit a86b628
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions django/core/mail.py
Expand Up @@ -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:
Expand Down

0 comments on commit a86b628

Please sign in to comment.