Ver Mensaje Individual
  #1 (permalink)  
Antiguo 11/10/2008, 16:13
Avatar de SpiderNet
SpiderNet
 
Fecha de Ingreso: agosto-2008
Ubicación: Venezuela
Mensajes: 29
Antigüedad: 15 años, 9 meses
Puntos: 0
funcion mail() de PHP y minirelay

Instale el miniRelay Server v0.9.77d para poder usar la funcion mail() de PHP.

Y de hecho aparentemente funciona.

Digo aparentemente por que en mi codigo, uso un condicional para verificarlo

Código:
...
      $email = mysql_result($result, 0, "email");
      $from = "From: [email protected] \r\n";
      $mesg = "Tu contraseña  ha sido cambiada a $password \r\n"
              ."Por favor utilízalo la próxima ver que hagas log in. \r\n";
      if (mail($email, "login información de CompartElinks", $mesg, $from))
        echo "email enviado exitosamente";
      else
        echo "problemas al enviar el email";
...
el codigo me devuelve el mensaje que el email ha sido enviado.

Pero...
el minirelay muestra
17:20:06 Listening on 127.0.0.1 (Port 25)
17:20:06 1 file(s) found at the queue
17:20:06 [1] Mx Domain of hotmail.com cached
17:20:06 [1] Connected with mx1.hotmail.com
17:20:12 [1] Error Connect timed out.
17:20:12 [1] Connected with mx1.hotmail.com
17:20:18 [1] Error Connect timed out.
17:20:18 [1] Connected with mx1.hotmail.com
17:20:24 [1] Error Connect timed out.
17:20:24 [1] Connected with mx2.hotmail.com
17:20:30 [1] Error Connect timed out.
17:20:30 [1] Connected with mx2.hotmail.com
17:20:36 [1] Error Connect timed out.
17:20:36 [1] Connected with mx2.hotmail.com
17:20:42 [1] Error Connect timed out.
17:20:42 [1] Connected with mx3.hotmail.com
17:20:48 [1] Error Connect timed out.
17:20:48 [1] Connected with mx3.hotmail.com
17:20:54 [1] Error Connect timed out.
17:20:54 [1] Connected with mx3.hotmail.com
17:21:00 [1] Error Connect timed out.
17:21:00 [1] Connected with mx4.hotmail.com
17:21:06 [1] Error Connect timed out.
17:21:06 [1] Connected with mx4.hotmail.com
17:21:12 [1] Error Connect timed out.
17:21:12 [1] Connected with mx4.hotmail.com
17:21:18 [1] Error Connect timed out.
17:21:18 [1] ERROR: 3 times retried, returning message


Ahora bien, he visto muchos post relacionados con problemas de este tipo y no he logrado ver cual es el procedimiento para llegar al origen del problema.

Si es posible que por favor me indiquen las posibles causas y la manera de averiguarlo, les agradeceria.

Uso Windows XP. Y le he indicado al firewall que permita la apertura del puerto 25.

Es lo unico que se me ha ocurrido.

Que mas podria hacer???