Page 1 of 1

Email module correction ... Cc field not implemented

PostPosted: Fri Oct 02, 2009 5:44 am
by zabelle_motte
Hello,

The cc field use is not implemented and you have to add the two last lines of the code below to make it effective :
Code: Select all
$headers = array();
            if ( $email->strval('from') ){
                $headers[] = "From: ".$email->strval('from');
                 $headers[] = "Reply-to: ".$email->strval('from');
             }
             if ( $email->strval('cc') ){
                              $headers[] = "Cc: ".$email->strval('cc');
                          }



My small contribution ...

Zabelle

PostPosted: Wed Oct 07, 2009 10:44 am
by shannah
Thanks Zabelle. I'll add this to the source trunk for next release.