change smtp to verua.ch
All checks were successful
Build and Deploy Hugo Site / buildAndDeploy (push) Successful in 1m0s

This commit is contained in:
bettina 2024-07-25 16:42:52 +02:00
commit 87d3f2b11b
2 changed files with 7 additions and 5 deletions

View file

@ -21,8 +21,8 @@ enableRobotsTXT = true
########################### Deployment #############################
[params]
# set to "development" or "production". This deploys the site to the correct environment and sets the robot.txt to disallow all pages when in development mode.
#environment = "production"
environment = "development"
environment = "production"
#environment = "development"
# set to true to enable captcha on the form
useCaptcha = true

View file

@ -42,12 +42,14 @@ try
$mail->isSMTP(); // Use SMTP
$mail->Host = 'ophelia.kreativmedia.ch'; // Set SMTP server
$mail->SMTPAuth = true; // Enable SMTP authentication
$mail->Username = 'order@verua.swiss'; // SMTP username
$mail->Password = 'Ont2J0s1qQYvX9TQrsx0nQv4Spuhha'; // SMTP password
// $mail->Username = 'order@verua.swiss'; // SMTP username
// $mail->Password = 'Ont2J0s1qQYvX9TQrsx0nQv4Spuhha'; // SMTP password
$mail->Username = 'order@verua.ch'; // SMTP username
$mail->Password = 'oP80sZKNs4sg7DIowSfHYXQ7VbXDHQ'; // SMTP password
$mail->SMTPSecure = PHPMailer::ENCRYPTION_SMTPS; // Enable encryption
$mail->Port = 465; // TCP port for the connection
// Recipients
$mail->setFrom('order@verua.swiss', 'VeruA AG'); // Sender address
$mail->setFrom('order@verua.ch', '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