mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-30 03:09:22 +02:00
Fix #245
This commit is contained in:
parent
01e4441b6b
commit
21e0de50b4
@ -532,7 +532,8 @@
|
|||||||
'host' => "mailserver.znote.eu", // Outgoing mail server host.
|
'host' => "mailserver.znote.eu", // Outgoing mail server host.
|
||||||
'securityType' => 'ssl', // ssl or tls
|
'securityType' => 'ssl', // ssl or tls
|
||||||
'port' => 465, // SMTP port number - likely to be 465(ssl) or 587(tls)
|
'port' => 465, // SMTP port number - likely to be 465(ssl) or 587(tls)
|
||||||
'username' => 'noreply@znote.eu', // Likely the email address
|
'email' => 'noreply@znote.eu',
|
||||||
|
'username' => 'noreply@znote.eu', // Likely the same as email
|
||||||
'password' => 'emailpassword', // The password.
|
'password' => 'emailpassword', // The password.
|
||||||
'debug' => false, // Enable debugging if you have problems and are looking for errors.
|
'debug' => false, // Enable debugging if you have problems and are looking for errors.
|
||||||
'fromName' => $config['site_title'],
|
'fromName' => $config['site_title'],
|
||||||
|
@ -57,7 +57,7 @@ class Mail {
|
|||||||
$mail->Password = $this->_config['password'];
|
$mail->Password = $this->_config['password'];
|
||||||
|
|
||||||
//Set who the message is to be sent from
|
//Set who the message is to be sent from
|
||||||
$mail->setFrom($this->_config['username'], $this->_config['fromName']);
|
$mail->setFrom($this->_config['email'], $this->_config['fromName']);
|
||||||
|
|
||||||
//Set who the message is to be sent to
|
//Set who the message is to be sent to
|
||||||
$mail->addAddress($to, $accname);
|
$mail->addAddress($to, $accname);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user