On Sat, Apr 5, 2008 at 7:06 PM, Tim Sawyer <[EMAIL PROTECTED]>
wrote:

>
> Hi Folks,
>
> I've just sent an email using EmailMessage setting the bcc field to be a
> list
> of recipients.  It sent the email, to the correct recipients, but all my
> addresses are visible in the mail header, in an email header called bcc.
> It's not supposed to do that is it, hence the B bit of the BCC?
>
> def send_email(pSubject, pMessage, pRecipients):
>    lMessage = EmailMessage(subject=pSubject,
>                            body=pMessage,
>                            from_email='info <[EMAIL PROTECTED]>',
>                            to=['webmaster <[EMAIL PROTECTED]>'],
>                            bcc=pRecipients)
>    lMessage.send()
>
> I'm using 0.97-pre-SVN-7176 according to the runserver output, and talking
> to
> an exim4 mailserver on a debian linux box.
>
> Any suggestions of how to fix this gratefully received!
>

Update to a revision with the fix for
http://code.djangoproject.com/ticket/6841, that is r7347 or higher.

Karen

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to