edit message mail
All checks were successful
Build and Deploy Hugo Site / buildAndDeploy (push) Successful in 56s
All checks were successful
Build and Deploy Hugo Site / buildAndDeploy (push) Successful in 56s
This commit is contained in:
parent
eac6fa90e5
commit
d9d3dc8897
2 changed files with 17 additions and 16 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue