#28726: Brackets illegal in DEFAULT_FROM_EMAIL name part.
-------------------------------------+-------------------------------------
     Reporter:  Ciaran Courtney      |                    Owner:  Glenn
         Type:                       |  Paquette
  Cleanup/optimization               |                   Status:  closed
    Component:  Core (Mail)          |                  Version:  3.0
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  email                |             Triage Stage:  Accepted
  DEFAULT_FROM_EMAIL                 |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by felixxm):

 * status:  assigned => closed
 * version:  1.11 => 3.0
 * resolution:   => fixed


Comment:

 Changing `DEFAULT_FROM_EMAIL` documentation doesn't solve it because you
 can always use `from_email` argument of `EmailMessage` (as Tim pointed
 out).
 Moreover this issue was solved in 2628ea95151feb68f43a2a740e6fb0799a94b14b
 that improved an exception:
 {{{
   File "/django/django/core/mail/message.py", line 84, in sanitize_address
     raise ValueError('Invalid address "%s"' % addr)
 ValueError: Invalid address "[test] Bob <[email protected]>"
 }}}

 I don't think that changes in documentation are required.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28726#comment:7>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/072.f2f4451fbc5ef58ea11ea150d603a87a%40djangoproject.com.

Reply via email to