added Verua email to order form
All checks were successful
Build and Deploy Hugo Site / buildAndDeploy (push) Successful in 50s

This commit is contained in:
Andreas Hnida 2024-05-13 12:38:59 +02:00
commit 72bdab6785

View file

@ -27,7 +27,7 @@ try {
// Es handelt sich wahrscheinlich um einen Bot
$subject = 'Botverdacht - ' . $subject;
}
if (empty($name) || !filter_var($email, FILTER_VALIDATE_EMAIL) || empty($message)) {
// Invalid input
throw new Exception('Ungültige Eingabedaten.');
@ -44,11 +44,9 @@ try {
$mail->Port = 465; // TCP port for the connection
// Recipients
$mail->setFrom($email, $name); // Sender address
$mail->setFrom('support@verua.ch', 'Verua Support'); // Sender address
$mail->addAddress('ah@mediendesign-hnida.de', 'Andreas Hnida'); // Add recipient
// $mail->addAddress('bettina.rasberger@rabe-web.ch', 'Bettina Rasberger'); // Add another recipient
// $mail->addAddress('norbert.wagner@verua.ch'); // Add another recipient
$mail->addReplyTo($email, $name); // Set reply address
$mail->addAddress('support@verua.ch', 'Verua Support'); // Add another recipient
$mail->addBCC('ah@mediendesign-hnida.de'); // Add bounce email address as BCC
// Content