Forums / Setup & design / [SOLVED] cc mail
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