Un servidor que utilice SSL no deberia usar el puerto 25 asi que ese debe ser el problema. Comprueba el puerto utilizado por el servidor y añadelo a moodle
Gracias por la respuesta. He comprobado los datos según el servidor de correo y ahora obtengo este error.
Hay dos problemas:
1. La dirección que oruebas no existe o tiene problemas
2018-05-21 18:52:13 SERVER -> CLIENT: 550 Delivery is not allowed to this address. 2018-05-21 18:52:13 SMTP ERROR: RCPT TO command failed: 550 Delivery is not allowed to this address. 2018-05-21 18:52:13 CLIENT -> SERVER: QUIT 2018-05-21 18:52:13 SMTP -> get_lines(): $data is "" 2018-05-21 18:52:13 SMTP -> get_lines(): $str is "221 goodbye
2. Hay un error SMTP al conectar al servidor. Eso es posible porque el puerto no es correcto o el servidor no es SSL. El puerto 587 se corresponde normalmente con TLS y el 465 con SSL. Verifica ambos puertos y que realmente el servidor disponga de dicha seguridad activada.
Cuando uso el otro puerto, el 456 obtengo este otro error, me da la sensación de que la conexión es más viable, pero al final de todos modos el mensaje no se envía. Me podrían ayudar a interpretar estos errores? Muchas gracias.
2018-05-21 18:52:13 Connection: opening to ssl://iupm.ferozo.com:465, timeout=300, options=array ( ) 2018-05-21 18:52:13 Connection: opened 2018-05-21 18:52:13 SMTP -> get_lines(): $data is "" 2018-05-21 18:52:13 SMTP -> get_lines(): $str is "220 Wellcome to SMTP Server " 2018-05-21 18:52:13 SERVER -> CLIENT: 220 Wellcome to SMTP Server 2018-05-21 18:52:13 CLIENT -> SERVER: EHLO 138.219.41.134 2018-05-21 18:52:13 SMTP -> get_lines(): $data is "" 2018-05-21 18:52:13 SMTP -> get_lines(): $str is "250-dtcwin110.dattaweb.com " 2018-05-21 18:52:13 SMTP -> get_lines(): $data is "250-dtcwin110.dattaweb.com " 2018-05-21 18:52:13 SMTP -> get_lines(): $str is "250-SIZE 20480000 " 2018-05-21 18:52:13 SMTP -> get_lines(): $data is "250-dtcwin110.dattaweb.com 250-SIZE 20480000 " 2018-05-21 18:52:13 SMTP -> get_lines(): $str is "250 AUTH LOGIN PLAIN " 2018-05-21 18:52:13 SERVER -> CLIENT: 250-dtcwin110.dattaweb.com 250-SIZE 20480000 250 AUTH LOGIN PLAIN 2018-05-21 18:52:13 Auth method requested: LOGIN 2018-05-21 18:52:13 Auth methods available on the server: LOGIN,PLAIN 2018-05-21 18:52:13 CLIENT -> SERVER: AUTH LOGIN 2018-05-21 18:52:13 SMTP -> get_lines(): $data is "" 2018-05-21 18:52:13 SMTP -> get_lines(): $str is "334 VXNlcm5hbWU6 " 2018-05-21 18:52:13 SERVER -> CLIENT: 334 VXNlcm5hbWU6 2018-05-21 18:52:13 CLIENT -> SERVER: bnViZUBpdXBtLm9yZw== 2018-05-21 18:52:13 SMTP -> get_lines(): $data is "" 2018-05-21 18:52:13 SMTP -> get_lines(): $str is "334 UGFzc3dvcmQ6 " 2018-05-21 18:52:13 SERVER -> CLIENT: 334 UGFzc3dvcmQ6 2018-05-21 18:52:13 CLIENT -> SERVER: TWFlc3RyaWEx 2018-05-21 18:52:13 SMTP -> get_lines(): $data is "" 2018-05-21 18:52:13 SMTP -> get_lines(): $str is "235 authenticated. " 2018-05-21 18:52:13 SERVER -> CLIENT: 235 authenticated. 2018-05-21 18:52:13 CLIENT -> SERVER: MAIL FROM: 2018-05-21 18:52:13 SMTP -> get_lines(): $data is "" 2018-05-21 18:52:13 SMTP -> get_lines(): $str is "250 OK " 2018-05-21 18:52:13 SERVER -> CLIENT: 250 OK 2018-05-21 18:52:13 CLIENT -> SERVER: RCPT TO: 2018-05-21 18:52:13 SMTP -> get_lines(): $data is "" 2018-05-21 18:52:13 SMTP -> get_lines(): $str is "550 Delivery is not allowed to this address. " 2018-05-21 18:52:13 SERVER -> CLIENT: 550 Delivery is not allowed to this address. 2018-05-21 18:52:13 SMTP ERROR: RCPT TO command failed: 550 Delivery is not allowed to this address. 2018-05-21 18:52:13 CLIENT -> SERVER: QUIT 2018-05-21 18:52:13 SMTP -> get_lines(): $data is "" 2018-05-21 18:52:13 SMTP -> get_lines(): $str is "221 goodbye " 2018-05-21 18:52:13 SERVER -> CLIENT: 221 goodbye 2018-05-21 18:52:13 Connection: closed 2018-05-21 18:52:13 SMTP Error: The following recipients failed: masster@outlook.com: Delivery is not allowed to this address.
En vista de que el servidor que estaba usando parece ser bastante problemático, he probado con Gmail. Ahora el error que aparece es que La red es inconectable... Me ayudan, por favor?