Thanks for the answers. Excuse me for panic.

Actually, there is no need in my code. One can see that smtp backend makes 
use of message.recepients() 
<https://github.com/django/django/blob/stable/1.6.x/django/core/mail/backends/smtp.py#L107>
 
while console backend - don't 
<https://github.com/django/django/blob/stable/1.6.x/django/core/mail/backends/console.py>
.

So my complaint is that I can't see during debugging with console backend, 
that message is going to be sent to bcc recepients. They just aren't 
printed out in any way.

But that looks like feature request now. So it shouldn't be addressed to 
this group, as I understand.

четверг, 2 апреля 2015 г., 2:58:07 UTC+10 пользователь Stephen Butler 
написал:
>
> BCC recipients don't get included in the message headers. If they were 
> stuffed there, then they wouldn't be "bilnd", they would appear in 
> every copy of the message! The code that includes them is here: 
>
>
> https://github.com/django/django/blob/stable/1.6.x/django/core/mail/message.py#L263
>  
>
> You say it doesn't work, but you need to show us your code so we can 
> see why. Creating an EmailMessage instance with a "bcc" keyword arg as 
> a list of addresses should do it. 
>
> On Wed, Apr 1, 2015 at 10:35 AM, Den <[email protected] <javascript:>> 
> wrote: 
> > Hello, everyone. 
> > 
> > First of all, bcc doesn't work even in console email backend for me. 
> > 
> > I'm unable to find code that processes bcc case. Something like that for 
> CC. 
> > 
> > Is it implemented at all? 
> > 
> > Thanks in advance. 
> > 
> > P.S. Django 1.6 if it's important, but I've failed to find the code in 
> 1.7.x 
> > and 1.8.x branches, too. 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "Django users" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to [email protected] <javascript:>. 
> > To post to this group, send email to [email protected] 
> <javascript:>. 
> > Visit this group at http://groups.google.com/group/django-users. 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/django-users/d29001c0-3a45-4044-8cfd-0224d6c02e59%40googlegroups.com.
>  
>
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" 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].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/2bd86b3f-95bf-403b-a4fc-c51c71cb4831%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to