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:
parent
8f9e7035a9
commit
1e23ad0b65
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue