AnnouncerPlugin doesn't honor always_cc and always_bcc
|Reported by:||vanton@…||Owned by:||hasienda|
I set always_cc and always_bcc in trac.ini like that:
email_always_cc = email@example.com
and it seems at the logs that it uses them:
2013-05-08 10:47:13,004 Trac[api] DEBUG: AnnouncementSystem has found the following subscriptions: [vagelis antoniadis(authenticated) via email] 2013-05-08 10:47:13,004 Trac[mail] DEBUG: EmailDistributor has found the following formats capable of handling 'email' of 'ticket': text/html, text/plain 2013-05-08 10:47:13,006 Trac[mail] DEBUG: EmailDistributor found the address 'firstname.lastname@example.org' for 'vagelis antoniadis (authenticated)' via: SpecifiedEmailResolver 2013-05-08 10:47:13,006 Trac[mail] DEBUG: EmailDistributor expected local delivery for vagelis antoniadis to: email@example.com 2013-05-08 10:47:13,006 Trac[mail] DEBUG: EmailDistributor is sending event as 'text/html' to: firstname.lastname@example.org 2013-05-08 10:47:13,007 Trac[mail] DEBUG: All email recipients: [email@example.com'] 2013-05-08 10:47:13,055 Trac[email_decorators] DEBUG: StaticEmailDecorator added 'dev_team' because of rule: email_always_cc 2013-05-08 10:47:13,055 Trac[email_decorators] DEBUG: StaticEmailDecorator added 'firstname.lastname@example.org' because of rule: email_always_bcc 2013-05-08 10:47:13,122 Trac[mail] DEBUG: EmailDistributor took 0.06 seconds to send. 2013-05-08 10:47:13,122 Trac[api] DEBUG: AnnouncementSystem sent event in 0.12 seconds.
But at the mail server's logs it only sends email to the recipient of the TO field and nothing to the ones at CC and BCC fields.
Change History (5)
comment:4 Changed 19 months ago by hasienda
- Resolution set to duplicate
- Status changed from new to closed