[SOLVED] cc mail

Author Message

Mads Ovesen

Tuesday 16 August 2005 6:47:22 am

Anyone know how I can put a cc mail recipient on all mails from forms om my site?

Thanks

Answer: Add function addCc in collectinformation.php:

$mail->setReceiver( $receiver );
$mail->addCc( $ccreceiver ); 
$mail->setSubject( $subject );
$mail->setBody( $templateResult );
$mailResult = eZMailTransport::send( $mail );

/m

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.