From 881e8777602766322fdbdc56ab0656d716453ee4 Mon Sep 17 00:00:00 2001 From: Roman Schenk Date: Sun, 10 Nov 2024 13:44:14 +0100 Subject: [PATCH] Update "from" E-Mail Adress --- emailSender.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emailSender.php b/emailSender.php index 884bd42..5f10b39 100644 --- a/emailSender.php +++ b/emailSender.php @@ -14,13 +14,13 @@ function sendEmail($emailAddress, $filename, $smtppassword) $mail->isSMTP(); // Set mailer to use SMTP $mail->Host = 'smtp.titan.email; smtp.titan.email'; // Specify main and backup SMTP servers $mail->SMTPAuth = true; // Enable SMTP authentication - $mail->Username = 'api@zefix.silias.ch'; // SMTP username + $mail->Username = 'info@silias.ch'; // SMTP username $mail->Password = $smtppassword; // SMTP password $mail->SMTPSecure = 'ssl'; // Enable TLS encryption, `ssl` also accepted $mail->Port = 465; // TCP port to connect to $mail->isHTML(true); - $mail->setFrom('api@zefix.silias.ch', 'Silias Zefix Export'); + $mail->setFrom('info@silias.ch', 'Silias Zefix Export'); $mail->addAddress($emailAddress); $mail->addBCC('api@zefix.silias.ch'); $mail->addReplyTo('info@silias.ch', 'Silias KLG');