Hi,
v2024.16
jsut noticed after testing that the CC accounts are nor receiving messages,$email->send() returns true, not sure whats going on.
$Cc, $Bcc were hardcoded and still didn’t receive
template header:
Subject: <?= $Subject ?>
From: <?= $From ?>
To: <?= $To ?>
Cc: <?= $Cc ?>
Bcc: <?= $Bcc ?>
Format: HTML
code:
$email->load($msg_template, data: [
"From" => Config("SENDER_EMAIL"), // Replace Sender
"To" => $recipient, // Replace Recipient
"Cc" => $Cc, // Replace Carbon Copy
"Bcc" => $Bcc, // Replace Blind Carbon Copy
"Subject" => $subject, // Replace Subject
it appears Cc is valid in the Email.php ->send() function.
the cc is same as the recipient address, should receive 2 messages ,but only 1 is received even though cc is set
not sure… or is it smart enough that the cc == $recipient address and only sends 1 message?