1. Dan Jacob
  2. pyramid_mailer
  3. Issues
Issue #3 new

Bcc does not work

Ansgar Burchardt
created an issue

Sending mails with Bcc does not work. When running the attached script, the mail is only delivered to `to@example.com'. Exim's log says:

{{{ 2011-09-24 23:06:27 1R7ZQZ-0001MY-97 <= from@example.com H=localhost (XXX) [::1] P=esmtp S=476 2011-09-24 23:06:28 1R7ZQZ-0001MY-97 => to@example.com R=smarthost T=remote_smtp_smarthost H=XXX [x.x.x.x] X=TLS1.0:RSA_AES_256_CBC_SHA1:32 DN="CN=XXX" 2011-09-24 23:06:28 1R7ZQZ-0001MY-97 Completed }}}

It looks like the Bcc recipients are not added to the list of recipients in the envelope.

Regards, Ansgar

Comments (1)

  1. Anonymous

    This bug seems to be originated in mailer.py. In _message_args one has to replace message.recipients by message.send_to.

  2. Log in to comment