mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
fix get smtp parameters
This commit is contained in:
parent
4bfdc9cbf5
commit
245092bb10
|
@ -277,10 +277,10 @@ foreach($users as $user) {
|
|||
$mail_params = array();
|
||||
if($settings->_smtpServer) {
|
||||
$mail_params['host'] = $settings->_smtpServer;
|
||||
if($settings->smtpPort) {
|
||||
if($settings->_smtpPort) {
|
||||
$mail_params['port'] = $settings->_smtpPort;
|
||||
}
|
||||
if($settings->smtpUser) {
|
||||
if($settings->_smtpUser) {
|
||||
$mail_params['auth'] = true;
|
||||
$mail_params['username'] = $settings->_smtpUser;
|
||||
$mail_params['password'] = $settings->_smtpPassword;
|
||||
|
|
Loading…
Reference in New Issue
Block a user