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
This commit is contained in:
Gary Wilson Jr 2008-03-21 20:35:39 +00:00
parent 8f9e7035a9
commit 1e23ad0b65
1 changed files with 0 additions and 2 deletions

View File

@ -237,8 +237,6 @@ class EmailMessage(object):
msg['To'] = ', '.join(self.to) msg['To'] = ', '.join(self.to)
msg['Date'] = formatdate() msg['Date'] = formatdate()
msg['Message-ID'] = make_msgid() msg['Message-ID'] = make_msgid()
if self.bcc:
msg['Bcc'] = ', '.join(self.bcc)
for name, value in self.extra_headers.items(): for name, value in self.extra_headers.items():
msg[name] = value msg[name] = value
return msg return msg