#28598: BCC addresses are ignored in the console and file email backends
-------------------------------------+-------------------------------------
     Reporter:  zngr                 |                    Owner:  Josh
         Type:                       |  Schneier
  Cleanup/optimization               |                   Status:  assigned
    Component:  Core (Mail)          |                  Version:  1.11
     Severity:  Normal               |               Resolution:
     Keywords:  mail, bcc            |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Carlton Gibson):

 >  ...write_message takes in an EmailMessage, not a string.

 Yes, that's right. So they'd need to be some adjustment.

 The trouble with `write_message()` as the hook is that you need to
 essentially reimplement it (or copy and paste the whole thing) in order to
 adjust the formatting.
 As such it's more of a `wontfix` solution.

 The idea I'm trying to communicate is that we add a `format_message()`
 hook, which does just that, separate from the existing `write_message()`
 method, which we just be responsible for the `write()` calls, message
 dividers (etc).

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28598#comment:8>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.8459b7b3db1ac4142592784d9df6b1c8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to