Fix translations

This commit is contained in:
Laurent Destailleur
2009-10-28 20:37:06 +00:00
parent 609b31401a
commit 5e977feb5e
25 changed files with 127 additions and 121 deletions

View File

@@ -869,6 +869,7 @@ class CMailFile
if (function_exists('fsockopen'))
{
dol_syslog("Try socket connection to host=".$host." port=".$port);
//See if we can connect to the SMTP server
if ( $socket = @fsockopen($host, // Host to 'hit', IP or domain
$port, // which Port number to use
@@ -877,8 +878,9 @@ class CMailFile
5) ) // timeout for reading/writing data over the socket
{
// Windows still does not have support for this timeout function
if (function_exists('socket_set_timeout'))
socket_set_timeout($socket, 5, 0);
if (function_exists('socket_set_timeout')) socket_set_timeout($socket, 5, 0);
dol_syslog("Now we wait for answer 220");
// Check response from Server
if ( $_retVal = $this->server_parse($socket, "220") )