From 1e23ad0b655369161449120d78d01db402708ee4 Mon Sep 17 00:00:00 2001 From: Gary Wilson Jr Date: Fri, 21 Mar 2008 20:35:39 +0000 Subject: [PATCH] Fixed #6841 -- Don't include bcc recepients in e-mail headers, thanks PhiR. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7347 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/core/mail.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/django/core/mail.py b/django/core/mail.py index 72343cb4df..bf6eca4f80 100644 --- a/django/core/mail.py +++ b/django/core/mail.py @@ -237,8 +237,6 @@ class EmailMessage(object): msg['To'] = ', '.join(self.to) msg['Date'] = formatdate() msg['Message-ID'] = make_msgid() - if self.bcc: - msg['Bcc'] = ', '.join(self.bcc) for name, value in self.extra_headers.items(): msg[name] = value return msg