More complete error message
Conflicts: htdocs/core/class/CMailFile.class.php
This commit is contained in:
parent
3daeb24da1
commit
5fdd6f698d
@ -752,9 +752,9 @@ class CMailFile
|
||||
}
|
||||
else
|
||||
{
|
||||
if (empty($this->error)) $this->error=$result;
|
||||
dol_syslog("CMailFile::sendfile: mail end error=".$this->error, LOG_ERR);
|
||||
$res=false;
|
||||
if (empty($this->error)) $this->error = $result;
|
||||
dol_syslog("CMailFile::sendfile: mail end error with smtps lib to HOST=".$server.", PORT=".$conf->global->$keyforsmtpport."<br>".$this->error, LOG_ERR);
|
||||
$res = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user