Update "from" E-Mail Adress
This commit is contained in:
parent
dbce5f71b9
commit
881e877760
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue