mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Fixed #7966 -- Send email if it has "bcc" recipients and no "to" recipients.
Patch from Zal. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8086 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -175,7 +175,7 @@ class SMTPConnection(object): | ||||
|  | ||||
|     def _send(self, email_message): | ||||
|         """A helper method that does the actual sending.""" | ||||
|         if not email_message.to: | ||||
|         if not email_message.recipients(): | ||||
|             return False | ||||
|         try: | ||||
|             self.connection.sendmail(email_message.from_email, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user