Adding CC and BCC to contact form

1 reply · opened Aug 20, 2019

NnfolAug 20, 2019

Hello,

Please could you tell me how i can add a CC and BCC to the contact form? Thanks.

SSemicolon WebSTAFFAug 21, 2019

Hello,

Simply use the following code:

$mail->AddCC( 'email@website.com', 'Name' );
$mail->AddBCC( 'email@website.com', 'Name'] );

Make sure that you add the above code after the $mail = new PHPMailer(); Initialization.

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard