Wednesday, April 1, 2015

Re: Is blind carbon copy implemented?

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() while console backend - don't.

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 <d.unt...@gmail.com> 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 django-users...@googlegroups.com.
> To post to this group, send email to django...@googlegroups.com.
> 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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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.

No comments:

Post a Comment