#28971: EmailMessage.message() does not override Cc header from extra_headers 
dict
(unlike From, To, and Reply-To)
------------------------------------------------+------------------------
               Reporter:  Jon Dufresne          |          Owner:  nobody
                   Type:  Cleanup/optimization  |         Status:  new
              Component:  Core (Mail)           |        Version:  master
               Severity:  Normal                |       Keywords:
           Triage Stage:  Unreviewed            |      Has patch:  1
    Needs documentation:  0                     |    Needs tests:  0
Patch needs improvement:  0                     |  Easy pickings:  0
                  UI/UX:  0                     |
------------------------------------------------+------------------------
 Compare how CC is built:

 https://github.com/django/django/blob/2.0/django/core/mail/message.py#L259

 To how the other headers are built:

 -
 https://github.com/django/django/blob/2.0/django/core/mail/message.py#L256
 -
 https://github.com/django/django/blob/2.0/django/core/mail/message.py#L257
 -
 https://github.com/django/django/blob/2.0/django/core/mail/message.py#L261

 Notice, unlike the others, Cc does not first use the `.extra_headers`
 dict. Like the other headers, should be able to use the `.extra_headers`
 to override Cc.

 [https://github.com/django/django/pull/9454 PR]

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28971>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/052.83fb6d8a7bf26626f3f283e2e283fc4d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to