mirror of
				https://github.com/django/django.git
				synced 2025-10-30 17:16:10 +00:00 
			
		
		
		
	magic-removal: Fixed #1384: Don't return when sending email fails, just skip to the next address.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2443 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -47,9 +47,8 @@ def send_mass_mail(datatuple, fail_silently=False): | |||||||
|             server.sendmail(from_email, recipient_list, msg.as_string()) |             server.sendmail(from_email, recipient_list, msg.as_string()) | ||||||
|             num_sent += 1 |             num_sent += 1 | ||||||
|         except: |         except: | ||||||
|             if fail_silently: |             if not fail_silently: | ||||||
|                 return |                 raise | ||||||
|             raise |  | ||||||
|     try: |     try: | ||||||
|         server.quit() |         server.quit() | ||||||
|     except: |     except: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user