Hi there,
Your template works great! Thank you! A constant subject that I need to deal with is how to add a 'cc' and a 'bcc' to your contact form. Please can you advise where on the sendemail.php I need to add the additional code to? I have tried to add it to this section:
$toemails[] = array(
'email' => 'johan@homemakers-sa.co.za', // Your Email Address
'name' => 'Mark Shelley' // Your Name
);and this section
$botcheck = $_POST['template-contactform-botcheck'];
if( $botcheck == '' ) {
$mail->SetFrom( $email , $name );
$mail->AddReplyTo( $email , $name );
foreach( $toemails as $toemail ) {
$mail->AddAddress( $toemail['email'] , $toemail['name'] );
}
$mail->Subject = $subject;
$name = isset($name) ? "Name: $name<br><br>" : '';
$email = isset($email) ? "Email: $email<br><br>" : '';
$phone = isset($phone) ? "Phone: $phone<br><br>" : '';
$message = isset($message) ? "Message: $message<br><br>" : '';But nothing is working. Please can you advise? Here is my link:
http://www.canvascorp.co.za/
Thanks for your time in advance
Colleen
