add fr-text to mail after order verua
All checks were successful
Build and Deploy Hugo Site / buildAndDeploy (push) Successful in 58s

This commit is contained in:
bettina 2024-06-26 17:37:48 +02:00
commit 5f3eccac70
2 changed files with 53 additions and 25 deletions

View file

@ -36,9 +36,10 @@ 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->addBCC('ah@mediendesign-hnida.de'); // Add bounce email address as BCC
$mail->setFrom('support@verua.ch', 'VeruA Support'); // Sender address
$mail->addAddress('support@verua.ch', 'VeruA Support'); // 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->isHTML(true); // Email in HTML format
@ -56,7 +57,7 @@ try {
// Send a second email to the customer
$customerEmail = $email;
$customerSubject = 'Danke für Ihre Bestellung bei der Verua AG';
$customerSubject = 'Danke für Ihre Bestellung bei der VeruA AG';
$encodedSubject = mb_encode_mimeheader($customerSubject, "UTF-8", "Q");
$customerMessage = constructCustomerMessageDE($message);