Email module correction ... Cc field not implemented

A place for users and developers of the Xataface to discuss and receive support.

Email module correction ... Cc field not implemented

Postby 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
zabelle_motte
 
Posts: 19
Joined: Tue Sep 01, 2009 6:18 am

Postby shannah » Wed Oct 07, 2009 10:44 am

Thanks Zabelle. I'll add this to the source trunk for next release.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 21 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved