[Django] #35390: Missing BCC entry in message function.

18 views
Skip to first unread message

Django

unread,
Apr 19, 2024, 6:34:28 AM4/19/24
to django-...@googlegroups.com
#35390: Missing BCC entry in message function.
---------------------------------------+------------------------
Reporter: amorilla | Owner: nobody
Type: Bug | Status: new
Component: Core (Mail) | Version:
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
---------------------------------------+------------------------
At django/django/core/mail/message.py missing bcc entry in message
function.

New line 269:
self._set_list_header_if_not_empty(msg, "Bcc", self.bcc)
--
Ticket URL: <https://code.djangoproject.com/ticket/35390>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Apr 19, 2024, 7:31:34 AM4/19/24
to django-...@googlegroups.com
#35390: Missing BCC entry in message function.
-----------------------------+--------------------------------------
Reporter: amorilla | Owner: nobody
Type: Bug | Status: closed
Component: Core (Mail) | Version:
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------+--------------------------------------
Changes (by Bhuvnesh):

* resolution: => invalid
* status: new => closed

Comment:

The reason why Bcc is missing message function is because we do not want
to list bcc addresses of mail in the header (as its a blind copy), instead
we use
[https://github.com/django/django/blob/main/django/core/mail/message.py#L288
recipients] to include all email addresses (to, cc and bcc) to which mail
is to be sent. For better understanding, you can have a look at
[https://github.com/django/django/blob/main/tests/mail/tests.py#L145 this
test.]

I'm closing this ticket for now. If you are facing some issue while
sending an email, feel free to reopen this ticket along with proper steps
to reproduce it.
--
Ticket URL: <https://code.djangoproject.com/ticket/35390#comment:1>

Django

unread,
Apr 20, 2024, 3:59:16 PM4/20/24
to django-...@googlegroups.com
#35390: Missing BCC entry in message function.
----------------------------------+--------------------------------------
Reporter: Antonio Morillas | Owner: nobody
Type: Bug | Status: closed
Component: Core (Mail) | Version:
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------+--------------------------------------
Comment (by Antonio Morillas):

OK.
--
Ticket URL: <https://code.djangoproject.com/ticket/35390#comment:2>
Reply all
Reply to author
Forward
0 new messages