﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
11928	EmailMessage.to accepts tuple or list, but EmailMessage.recipients() fails if it's a tuple	Ben Davis	Ben Davis	"Basically, if you set ""to"" to a tuple, the recipients() method fails because it's concatenating self.to + self.bcc,  and bcc by default is [].  So if self.to is a tuple, you get an exception. The simple fix is:
{{{
Index: django/core/mail.py
===================================================================
--- django/core/mail.py (revision 11587)
+++ django/core/mail.py (working copy)
@@ -255,7 +255,7 @@
         Returns a list of all recipients of the email (includes direct
         addressees as well as Bcc entries).
         """"""
-        return self.to + self.bcc
+        return list(self.to) + list(self.bcc)

     def send(self, fail_silently=False):
         """"""Sends the email message.""""""
}}}"	Cleanup/optimization	closed	Core (Mail)	dev	Normal	fixed			Ready for checkin	1	0	0	0	0	0
