Ver Mensaje Individual
  #1 (permalink)  
Antiguo 07/09/2012, 02:40
Avatar de patilanz
patilanz
 
Fecha de Ingreso: enero-2012
Mensajes: 880
Antigüedad: 12 años, 11 meses
Puntos: 29
Funcion mail no funciona

Hola necesito enviar con mail() un correo para prueba con. Estoy usando wamp 5
Primero me mostraba un error de que no tenia configurado el header From de php.ini y lo corregi de modo que me quedo asi :

[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25

; For Win32 only.
sendmail_from = [email protected]

Y la funcion mail es :

Código PHP:
Ver original
  1. $destino = '[email protected]';
  2. $asunto = 'Prueba';
  3. $mensaje = '
  4. Email:
  5. Pass:
  6. Personaje:
  7. ';
  8. mail($destino, $asunto, $mensaje, $From);
  9. echo 'a';

Uso minirelay para enviar el mensaje pero cuando intento hacer lo en el miniRelay me sale :


11:33:55 Escuchando en 127.0.0.1 (Puerto 25)
11:34:01 Comando: MAIL FROM <[email protected]>
11:34:01 Comando: RCPT TO <[email protected]>
11:34:01 [1] Dominio MX de hotmail.es cacheado
11:34:01 [1] Conectando con mx1.hotmail.com
11:34:02 [1] Enviando mensaje
11:34:02 [1] Error DY-001 (COL0-MC4-F8) Unfortunately, messages from 62.221.137.101 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.
11:34:02 [1] Conectando con mx1.hotmail.com
11:34:03 [1] Error DY-001 (COL0-MC4-F17) Unfortunately, messages from 62.221.137.101 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.
11:34:03 [1] Conectando con mx1.hotmail.com
11:34:04 [1] Error DY-001 (COL0-MC4-F10) Unfortunately, messages from 62.221.137.101 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.
11:34:04 [1] Conectando con mx2.hotmail.com
11:34:05 [1] Enviando mensaje
11:34:06 [1] Error DY-001 (COL0-MC1-F30) Unfortunately, messages from 62.221.137.101 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.


Quito algo de aqui porque se me hace muy largo

11:34:08 [1] Error DY-001 (COL0-MC1-F32) Unfortunately, messages from 62.221.137.101 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.
11:34:08 [1] Conectando con mx3.hotmail.com
11:34:08 [1] Enviando mensaje
11:34:09 [1] Error DY-001 (BAY0-MC1-F47) Unfortunately, messages from 62.221.137.101 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.
11:34:09 [1] Conectando con mx3.hotmail.com
11:34:10 [1] Error DY-001 (BAY0-MC1-F39) Unfortunately, messages from 62.221.137.101 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.
11:34:10 [1] Conectando con mx3.hotmail.com
11:34:12 [1] Error DY-001 (BAY0-MC1-F34) Unfortunately, messages from 62.221.137.101 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.
11:34:12 [1] Conectando con mx4.hotmail.com
11:34:13 [1] Enviando mensaje
11:34:13 [1] Error DY-001 (COL0-MC3-F48) Unfortunately, messages from 62.221.137.101 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.
11:34:13 [1] Conectando con mx4.hotmail.com
11:34:14 [1] Error DY-001 (COL0-MC3-F46) Unfortunately, messages from 62.221.137.101 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.
11:34:14 [1] Conectando con mx4.hotmail.com
11:34:16 [1] Error DY-001 (COL0-MC3-F7) Unfortunately, messages from 62.221.137.101 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.
11:34:16 [1] ERROR: Se ha reintentado el envio 3 veces, devolviendo mensaje
11:34:16 [2] Devolviendo mensaje
11:34:16 [2] Dominio MX de hotmail.es cacheado
11:34:16 [2] Conectando con mx1.hotmail.com
11:34:16 [2] Enviando mensaje
11:34:17 [2] Error DY-001 (COL0-MC4-F34) Unfortunately, messages from 62.221.137.101 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.
11:34:17 [2] Conectando con mx1.hotmail.com
11:34:18 [2] Error DY-001 (COL0-MC4-F28) Unfortunately, messages from 62.221.137.101 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.
11:34:18 [2] Conectando con mx1.hotmail.com
11:34:19 [2] Error DY-001 (COL0-MC4-F45) Unfortunately, messages from 62.221.137.101 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.
11:34:19 [2] Conectando con mx2.hotmail.com
11:34:20 [2] Enviando mensaje
11:34:20 [2] Error DY-001 (COL0-MC1-F1) Unfortunately, messages from 62.221.137.101 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.
11:34:20 [2] Conectando con mx2.hotmail.com
11:34:21 [2] Error DY-001 (COL0-MC1-F4) Unfortunately, messages from 62.221.137.101 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.
11:34:21 [2] Conectando con mx2.hotmail.com
11:34:22 [2] Error DY-001 (COL0-MC1-F40) Unfortunately, messages from 62.221.137.101 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.
11:34:22 [2] Conectando con mx3.hotmail.com
11:34:23 [2] Enviando mensaje
11:34:23 [2] Error DY-001 (BAY0-MC1-F44) Unfortunately, messages from 62.221.137.101 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.
11:34:23 [2] Conectando con mx3.hotmail.com
11:34:24 [2] Error DY-001 (BAY0-MC1-F46) Unfortunately, messages from 62.221.137.101 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.
11:34:24 [2] Conectando con mx3.hotmail.com
11:34:26 [2] Error DY-001 (BAY0-MC1-F14) Unfortunately, messages from 62.221.137.101 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.
11:34:26 [2] Conectando con mx4.hotmail.com
11:34:26 [2] Enviando mensaje
11:34:27 [2] Error DY-001 (COL0-MC3-F10) Unfortunately, messages from 62.221.137.101 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.
11:34:27 [2] Conectando con mx4.hotmail.com
11:34:28 [2] Error DY-001 (COL0-MC3-F17) Unfortunately, messages from 62.221.137.101 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.
11:34:28 [2] Conectando con mx4.hotmail.com
11:34:29 [2] Error DY-001 (COL0-MC3-F28) Unfortunately, messages from 62.221.137.101 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.
11:34:29 [2] El mensaje de error no ha podido ser enviado. Se queda en la cola


Y el mensaje no se envia ...
He leido varios post pero no encuentro el problema
Me pueden ayudar ??