1
Soporte General SMF / Problema de envio de notificacion y anuncios SMF 2.0.3
« on: June 20, 2013 - 08:21 20:21 »
Hola estoy teniendo problema con el envio de anuncios, notificaciones y activaciones mediante correo.
Mi configuracion es la siguiente.
Cuenta de correo
noreply@nombre.com
Mail type: smtp
SMTP server: mail027-1.exch027.serverdata.net (Servidor de Correo de Intermedia)
SMTP port: 587 (requiere TLS cuando configuro las cuentas de correo en Outlook)
SMTP username: noreply@nombre.com
Ya probe colocarle al inicio del servidor ssl:// y el servidor y tambien tls://. Este es el error que me sale en todas las configuraciones.
Aqui tambien les paso algunas imagenes
Que puede ser el problema??
Mi configuracion es la siguiente.
Cuenta de correo
noreply@nombre.com
Mail type: smtp
SMTP server: mail027-1.exch027.serverdata.net (Servidor de Correo de Intermedia)
SMTP port: 587 (requiere TLS cuando configuro las cuentas de correo en Outlook)
SMTP username: noreply@nombre.com
Ya probe colocarle al inicio del servidor ssl:// y el servidor y tambien tls://. Este es el error que me sale en todas las configuraciones.
Code: [Select]
1312: if ($modSettings['mail_type'] == 2 && $modSettings['smtp_username'] != '' && $modSettings['smtp_password'] != '')
1313: {
1314: $socket = fsockopen($modSettings['smtp_host'], 110, $errno, $errstr, 2);
1315: if (!$socket && (substr($modSettings['smtp_host'], 0, 5) == 'smtp.' || substr($modSettings['smtp_host'], 0, 11) == 'ssl://smtp.'))
1316: $socket = fsockopen(strtr($modSettings['smtp_host'], array('smtp.' => 'pop.')), 110, $errno, $errstr, 2);
1317:
1318: if ($socket)
1319: {
1320: fgets($socket, 256);
1321: fputs($socket, 'USER ' . $modSettings['smtp_username'] . "\r\n");
1322: fgets($socket, 256);
1323: fputs($socket, 'PASS ' . base64_decode($modSettings['smtp_password']) . "\r\n");
1324: fgets($socket, 256);
1325: fputs($socket, 'QUIT' . "\r\n");
1326:
1327: fclose($socket);
1328: }
1329: }
1330:
1331: // Try to connect to the SMTP server... if it doesn't exist, only wait three seconds.
==>1332: if (!$socket = fsockopen($modSettings['smtp_host'], empty($modSettings['smtp_port']) ? 25 : $modSettings['smtp_port'], $errno, $errstr, 3))
1333: {
1334: // Maybe we can still save this? The port might be wrong.
1335: if (substr($modSettings['smtp_host'], 0, 4) == 'ssl:' && (empty($modSettings['smtp_port']) || $modSettings['smtp_port'] == 25))
1336: {
1337: if ($socket = fsockopen($modSettings['smtp_host'], 465, $errno, $errstr, 3))
1338: log_error($txt['smtp_port_ssl']);
1339: }
1340:
1341: // Unable to connect! Don't show any error message, but just log one and try to continue anyway.
1342: if (!$socket)
1343: {
1344: log_error($txt['smtp_no_connect'] . ': ' . $errno . ' : ' . $errstr);
1345: return false;
1346: }
1347: }
1348:
1349: // Wait for a response of 220, without "-" continuer.
1350: if (!server_parse(null, $socket, '220'))
1351: return false;
1352:
Aqui tambien les paso algunas imagenes
Que puede ser el problema??