change sender mail
All checks were successful
Build and Deploy Hugo Site / buildAndDeploy (push) Successful in 1m1s

This commit is contained in:
bettina 2024-06-27 13:45:31 +02:00
commit 5207c38d30

View file

@ -36,8 +36,8 @@ try {
$mail->Port = 465; // TCP port for the connection
// Recipients
$mail->setFrom('support@verua.ch', 'VeruA Support'); // Sender address
$mail->addAddress('support@verua.ch', 'VeruA Support'); // Add another recipient
$mail->setFrom('support@verua.ch', '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
@ -63,6 +63,7 @@ try {
$customerMessage = constructCustomerMessage($message, $lang);
$mail->clearAddresses();
// $mail->ClearBCCs();
$mail->addAddress($customerEmail);
$mail->Subject = $encodedSubject;
$mail->Body = nl2br(htmlspecialchars($customerMessage));