edit message mail
All checks were successful
Build and Deploy Hugo Site / buildAndDeploy (push) Successful in 56s

This commit is contained in:
bettina 2024-06-28 16:53:49 +02:00
commit d9d3dc8897
2 changed files with 17 additions and 16 deletions

View file

@ -39,6 +39,7 @@ try {
$mail->setFrom('order@verua.swiss', 'VeruA AG'); // Sender address
$mail->addAddress('support@verua.ch', 'VeruA AG'); // Add another recipient
// $mail->addBCC('ah@mediendesign-hnida.de'); // Add bounce email address as BCC
$mail->addBCC('rabe@verua.swiss'); // Add bounce email address as BCC
// Content Mail to support
@ -61,11 +62,10 @@ try {
$customerSubject = ($lang == "DE" ? 'Danke für Ihre Bestellung bei der VeruA AG' : 'Merci pour votre commande chez VeruA AG' );
$encodedSubject = mb_encode_mimeheader($customerSubject, "UTF-8", "Q");
$customerMessage = constructCustomerMessage($message, $lang);
$customerMessage = constructCustomerMessage($message, $lang, $name);
$mail->clearAddresses();
$mail->ClearBCCs();
$mail->addBCC('rabe@verua.swiss'); // Add bounce email address as BCC
$mail->addAddress($customerEmail);
$mail->Subject = $encodedSubject;
// $mail->Body = nl2br(htmlspecialchars($customerMessage));