Julien, Looking at the code you linked confirmed my suspicions - just like an email in your favorite email client, you must include a 'to' field when using BCCs. The example linked is sending their message /to/ somewhere...and my suspicion is that is what is causing your messages not to send. Add a recipient of the sender_email and you should be fine (yes, you will have to delete the messages from that account, but BCCs will work. Alternately, send a single message to each recipient, then you don't need BCCs.
Adam On Tue, May 13, 2008 at 1:16 AM, Julien <[EMAIL PROTECTED]> wrote: > > Hi, > > Apparently others have had trouble with the BCC attribute of the > Django email classes [1]. I also have a problem, but a bit different. > The 'to' recipients receive the email, but not the 'bcc' recipients. > > Works: > msg = EmailMultiAlternatives(subject, plain_body, sender_email, > recipients) > msg.attach_alternative(html_body, "text/html") > msg.send() > > Doesn't work (executes without problem, but emails are never > received): > msg = EmailMultiAlternatives(subject, plain_body, sender_email, > bcc=recipients) > msg.attach_alternative(html_body, "text/html") > msg.send() > > I'm using today's version of Django: 0.97-pre-SVN-7523 > > Is that a bug or am I missing something? > > Thanks a lot, > > Julien > > [1] > http://groups.google.com/group/django-users/browse_thread/thread/7067b4e6686290b4/dff9ff1258105130?lnk=gst&q=bcc#dff9ff1258105130 > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---

