Email module correction … Cc field not implemented

Archived from the Xataface Users forum.

zabelle_motte — Fri Oct 02, 2009 5:44 am

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


shannah — Wed Oct 07, 2009 10:44 am

Thanks Zabelle. I’ll add this to the source trunk for next release.