X-Git-Url: https://git.donarmstrong.com/?p=debbugs.git;a=blobdiff_plain;f=Debbugs%2FRecipients.pm;h=29b92f72a343d3626126205aad4b3de17b4df14f;hp=fe99f2515f8f9eda415526a224c134cfe6660e1a;hb=fae2d5eea37642cc3773faa697973c25e5e140c2;hpb=416178e75784386fe785fd00433bffa5235bbef6 diff --git a/Debbugs/Recipients.pm b/Debbugs/Recipients.pm index fe99f25..29b92f7 100644 --- a/Debbugs/Recipients.pm +++ b/Debbugs/Recipients.pm @@ -181,6 +181,16 @@ sub add_recipients { bug_num => $param{data}{bug_num}, type => 'bcc', ); + } + if (defined $config{cc_all_mails_to_addr} and + length $config{cc_all_mails_to_addr} + ) { + _add_address(recipients => $param{recipients}, + address => $config{cc_all_mails_to}, + reason => "cc_all_mails_to", + bug_num => $param{data}{bug_num}, + type => 'bcc', + ); } if (length $param{data}{owner}) {