Hello,
With the contact form, is there a way to change the send to a single address, but BCC to the array?
Thank you!
3 replies · opened May 6, 2019
Hello,
With the contact form, is there a way to change the send to a single address, but BCC to the array?
Thank you!
Hello,
You can add the following code just after the $mail->SetFrom Line of Code in the include/form.php File:
$mail->addBCC('bcc@example.com');This will definitely work fine. We will add more settings for this in the Future Updates. Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Thanks, but I need the to address to be set as name@domain.com (just one email), and the BCC to be an array of **multiple **addresses which I will pull from the database, rather than just one BCC address that I can set as ('bcc@example.com').
Hello,
Then you can simply use $mail->addBCC('bcc@example.com'); for each Email in the Array via a For/Foreach Loop. Just replace bcc@example.com with the Actual Email Value.
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