added Verua email to order form
All checks were successful
Build and Deploy Hugo Site / buildAndDeploy (push) Successful in 50s
All checks were successful
Build and Deploy Hugo Site / buildAndDeploy (push) Successful in 50s
This commit is contained in:
parent
5c401526bb
commit
72bdab6785
1 changed files with 3 additions and 5 deletions
|
|
@ -27,7 +27,7 @@ try {
|
||||||
// Es handelt sich wahrscheinlich um einen Bot
|
// Es handelt sich wahrscheinlich um einen Bot
|
||||||
$subject = 'Botverdacht - ' . $subject;
|
$subject = 'Botverdacht - ' . $subject;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty($name) || !filter_var($email, FILTER_VALIDATE_EMAIL) || empty($message)) {
|
if (empty($name) || !filter_var($email, FILTER_VALIDATE_EMAIL) || empty($message)) {
|
||||||
// Invalid input
|
// Invalid input
|
||||||
throw new Exception('Ungültige Eingabedaten.');
|
throw new Exception('Ungültige Eingabedaten.');
|
||||||
|
|
@ -44,11 +44,9 @@ try {
|
||||||
$mail->Port = 465; // TCP port for the connection
|
$mail->Port = 465; // TCP port for the connection
|
||||||
|
|
||||||
// Recipients
|
// 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('ah@mediendesign-hnida.de', 'Andreas Hnida'); // Add recipient
|
||||||
// $mail->addAddress('bettina.rasberger@rabe-web.ch', 'Bettina Rasberger'); // Add another recipient
|
$mail->addAddress('support@verua.ch', 'Verua Support'); // Add another recipient
|
||||||
// $mail->addAddress('norbert.wagner@verua.ch'); // Add another recipient
|
|
||||||
$mail->addReplyTo($email, $name); // Set reply address
|
|
||||||
$mail->addBCC('ah@mediendesign-hnida.de'); // Add bounce email address as BCC
|
$mail->addBCC('ah@mediendesign-hnida.de'); // Add bounce email address as BCC
|
||||||
|
|
||||||
// Content
|
// Content
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue