change sender mail
All checks were successful
Build and Deploy Hugo Site / buildAndDeploy (push) Successful in 1m1s
All checks were successful
Build and Deploy Hugo Site / buildAndDeploy (push) Successful in 1m1s
This commit is contained in:
parent
9c8edb951d
commit
5207c38d30
1 changed files with 3 additions and 2 deletions
|
|
@ -36,8 +36,8 @@ try {
|
||||||
$mail->Port = 465; // TCP port for the connection
|
$mail->Port = 465; // TCP port for the connection
|
||||||
|
|
||||||
// Recipients
|
// Recipients
|
||||||
$mail->setFrom('support@verua.ch', 'VeruA Support'); // Sender address
|
$mail->setFrom('support@verua.ch', 'VeruA AG'); // Sender address
|
||||||
$mail->addAddress('support@verua.ch', 'VeruA Support'); // Add another recipient
|
$mail->addAddress('support@verua.ch', 'VeruA AG'); // Add another recipient
|
||||||
// $mail->addBCC('ah@mediendesign-hnida.de'); // Add bounce email address as BCC
|
// $mail->addBCC('ah@mediendesign-hnida.de'); // Add bounce email address as BCC
|
||||||
$mail->addBCC('rabe@verua.swiss'); // 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);
|
$customerMessage = constructCustomerMessage($message, $lang);
|
||||||
|
|
||||||
$mail->clearAddresses();
|
$mail->clearAddresses();
|
||||||
|
// $mail->ClearBCCs();
|
||||||
$mail->addAddress($customerEmail);
|
$mail->addAddress($customerEmail);
|
||||||
$mail->Subject = $encodedSubject;
|
$mail->Subject = $encodedSubject;
|
||||||
$mail->Body = nl2br(htmlspecialchars($customerMessage));
|
$mail->Body = nl2br(htmlspecialchars($customerMessage));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue