#31955: Multiple email send issues
-------------------------------------+-------------------------------------
               Reporter:             |          Owner:  nobody
  ajeetgupt1982                      |
                   Type:             |         Status:  new
  Uncategorized                      |
              Component:  Core       |        Version:  3.1
  (Mail)                             |       Keywords:  Email send issues
               Severity:  Normal     |  invalid address
           Triage Stage:             |      Has patch:  1
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  1
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 Hi,

 to = str('[email protected]')
 cc = str(context['workernotification'])
 # == ''Pick from the dynamically custom notification profile
 [email protected],[email protected]''
 from_email = request.POST.get('fromemail')
 msg = EmailMultiAlternatives(subject, text_content,from_email,[to],[cc])
 msg.attach_alternative(html_content, "text/html")
 msg.send()  # Mail send code

 Errors:

 Exception Value: | Invalid address; only [email protected] could be
 parsed from "[email protected],[email protected]"

 I am getting the above error while using in to or cc .

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31955>
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/056.3d8992669287253df70263d28139e1d5%40djangoproject.com.

Reply via email to