Simple Machines Community Forum

SMF Support => Language Specific Support => Español (Spanish) => Aiheen aloitti: forcecde - kesäkuu 20, 2013, 09:17:31 IP

Otsikko: Problema de envio de notificacion y anuncios SMF 2.0.3
Kirjoitti: forcecde - kesäkuu 20, 2013, 09:17:31 IP
Hola estoy teniendo problema con el envio de anuncios, notificaciones y activaciones mediante correo.
Mi configuracion es la siguiente.

Cuenta de correo
[email protected]
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: [email protected]

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.
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
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.minus.com%2Fibplp124f2RKdI.png&hash=f881a9a6cdb3d4d1a76638213c81f04d7e99b2c6)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.minus.com%2FiMr3nPhDAryr6.png&hash=3bfa1dfddc74e5eba130492690f47319a7c6e529)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.minus.com%2FiUJFyiHCMFTa3.png&hash=d156f9df5ca67aaf99f11509e743199661411f8b)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.minus.com%2FixlDOxEKNNRQe.png&hash=eb4a9d8802f42ecc302250fa30dcc53fcbb341c6)

Que puede ser el problema?????
Otsikko: Re: Problema de envio de notificacion y anuncios SMF 2.0.3
Kirjoitti: vicram10 - kesäkuu 21, 2013, 08:07:12 AP
usuario smtp y password estan bien¿?
Otsikko: Re: Problema de envio de notificacion y anuncios SMF 2.0.3
Kirjoitti: forcecde - kesäkuu 21, 2013, 08:23:20 AP
Lainaus käyttäjältä: vicram10 - kesäkuu 21, 2013, 08:07:12 AP
usuario smtp y password estan bien¿?

Si esta todo bien yo nomas por cuestion de seguridad nomas cambie para el screen...
Otsikko: Re: Problema de envio de notificacion y anuncios SMF 2.0.3
Kirjoitti: vicram10 - kesäkuu 21, 2013, 09:00:07 AP
revisa con tu hosting, diles que tienes problemas con el fsockopen y que sale el error connection refused, y si tienen alguna restriccion para su uso.. debido a que siempre funciona, te lo digo por que yo lo tengo configurado y funciona bien en mi foro.
Otsikko: Re: Problema de envio de notificacion y anuncios SMF 2.0.3
Kirjoitti: forcecde - kesäkuu 21, 2013, 09:06:34 AP
Lainaus käyttäjältä: vicram10 - kesäkuu 21, 2013, 09:00:07 AP
revisa con tu hosting, diles que tienes problemas con el fsockopen y que sale el error connection refused, y si tienen alguna restriccion para su uso.. debido a que siempre funciona, te lo digo por que yo lo tengo configurado y funciona bien en mi foro.

Disculpen la burrada pero con el Hosting del Correo o del foro?
Otsikko: Re: Problema de envio de notificacion y anuncios SMF 2.0.3
Kirjoitti: vicram10 - kesäkuu 21, 2013, 10:23:11 AP
hosting del foro