This commit is contained in:
Laurent Destailleur
2023-07-27 15:51:32 +02:00
parent c53c2ebd9d
commit 31082fbea0

View File

@@ -1711,7 +1711,7 @@ class CMailFile
// tls smtp start with no encryption
//if (!empty($conf->global->MAIN_MAIL_EMAIL_STARTTLS) && function_exists('openssl_open')) $host='tls://'.$host;
dol_syslog("Try socket connection to host=".$host." port=".$port);
dol_syslog("Try socket connection to host=".$host." port=".$port." timeout=".$timeout);
//See if we can connect to the SMTP server
$errno = 0; $errstr = '';
if ($socket = @fsockopen(