SiT! Bugs - SiT!
View Issue Details
0001809SiT!outbound emailpublic2012-10-09 20:552013-07-03 13:44
SLionB 
paulh 
immediateminoralways
resolvedfixed 
LinuxLinux2.6+later
3.65 LTS 
3.68Current SVN 
0001809: CC and BCC recipients used in Templates are ignored by Email Triggers
CC and BCC recipients used in Templates are ignored by Email Triggers
in functions.inc.php
function send_email($to, $from, $subject, $body, $replyto='', $cc='', $bcc='')

in function body the local variables used for cc and bcc are not the function parameters

if (!empty($email_cc))
    {
        $extra_headers .= "CC: {$cc}" . $crlf;
    }
    if (!empty($email_bcc))
    {
        $extra_headers .= "BCC: {$bcc}" . $crlf;
    }

$email_cc and $email_bcc
must be replaced by
$cc, and $bcc
No tags attached.
Issue History
2012-10-09 20:55SLionBNew Issue
2012-10-12 11:52ivanNote Added: 0004545
2012-10-12 11:52ivanAssigned To => ivan
2012-10-12 11:52ivanStatusnew => confirmed
2013-04-01 19:58paulhNote Added: 0004762
2013-04-01 19:58paulhAssigned Toivan => paulh
2013-04-01 19:58paulhStatusconfirmed => resolved
2013-04-01 19:58paulhResolutionopen => fixed
2013-04-01 19:58paulhFixed in Version => Current SVN
2013-07-03 13:44ivanTarget Version => 3.68

Notes
(0004545)
ivan   
2012-10-12 11:52   
Thanks for the bug report. I can confirm this.
(0004762)
paulh   
2013-04-01 19:58   
Thanks SLionB, this is now resolves in r7574 and git 2975ea68547804aee3d8885c48b4525fefe2f87a