Ver Mensaje Individual
  #1 (permalink)  
Antiguo 06/04/2011, 06:41
duclos
 
Fecha de Ingreso: mayo-2010
Mensajes: 13
Antigüedad: 14 años
Puntos: 2
Enviar correo a hotmail con php

Estoy intentando generar un formulario de registro par auna pagina en php que tengo entre manos. El formulario en cuestion utiliza la funcion mail para enviar un correo de activacion al usuario. Mediante minirelay he conseguido que los correos llegen sin problemas a gmail, pero en cuanto toca hotmail no hay manera. Me sale el siguiente error:

Error DY-001 Unfortunately, messages from ***.***.***.*** weren't sent. Please contact your Internet service provider. You can tell them that Hotmail does not relay dynamically-assigned IP ranges. You can also refer your provider to http://mail.live.com/mail/troubleshooting.aspx#errors


Teniendo en cuenta que es bastante improvable que consiga una ip estatica me pregunto si existe otra manera de solucionar el problema.

Habia leido que usando un dominio y registros MX deberia solucionarse, pero hasta ahora nada, tengo un dominio (direcionado a mi ip) con un registro MX (aunque no tengo ni idea de si lo he configurado bien) y el siguiente codigo en mi php.ini


Código:
[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = localhost
; http://php.net/smtp-port
smtp_port = 25

; For Win32 only.
; http://php.net/sendmail-from
sendmail_from = [email protected]

; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
;sendmail_path =

; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =

; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
mail.add_x_header = On

; Log all mail() calls including the full path of the script, line #, to address and headers
;mail.log =
Ya no se que probar, asi que agradeceria cualquier tipo de ayuda.