Ver Mensaje Individual
  #1 (permalink)  
Antiguo 16/04/2016, 18:47
jultrun121
 
Fecha de Ingreso: enero-2011
Mensajes: 38
Antigüedad: 13 años, 4 meses
Puntos: 0
no puedo enviar email por php

estoy usando un server local con xampp y uso como server de corres hmailserver pero no puedo enviar un mensaje

codigo
Código PHP:
<?php
$para      
'[email protected]';
$titulo    'El título';
$mensaje   'Hola';
$cabeceras 'From: [email protected]"\r\n" .
    
'Reply-To: jultrun121@gmail' "\r\n" .
    
'X-Mailer: PHP/' phpversion();

if(
mail($para$titulo$mensaje$cabeceras)){
echo  
"enviado";
}
?>
cuando lo ejecuto me sale enviado pero cuando veo mi correo no llega nada
este es el log del hmail
"SMTPD" 9080 16 "2016-04-16 19:21:08.662" "127.0.0.1" "SENT: 220 ASUS ESMTP"
"SMTPD" 8392 16 "2016-04-16 19:21:08.664" "127.0.0.1" "RECEIVED: HELO ASUS"
"SMTPD" 8392 16 "2016-04-16 19:21:08.665" "127.0.0.1" "SENT: 250 Hello."
"SMTPD" 9080 16 "2016-04-16 19:21:08.666" "127.0.0.1" "RECEIVED: MAIL FROM:<[email protected]>"
"SMTPD" 9080 16 "2016-04-16 19:21:08.677" "127.0.0.1" "SENT: 250 OK"
"SMTPD" 8392 16 "2016-04-16 19:21:08.678" "127.0.0.1" "RECEIVED: RCPT TO:<[email protected]>"
"SMTPD" 8392 16 "2016-04-16 19:21:08.686" "127.0.0.1" "SENT: 250 OK"
"SMTPD" 8800 16 "2016-04-16 19:21:08.687" "127.0.0.1" "RECEIVED: DATA"
"SMTPD" 8800 16 "2016-04-16 19:21:08.689" "127.0.0.1" "SENT: 354 OK, send."
"SMTPD" 9308 16 "2016-04-16 19:21:08.710" "127.0.0.1" "SENT: 250 Queued (0.016 seconds)"
"SMTPD" 9080 16 "2016-04-16 19:21:08.711" "127.0.0.1" "RECEIVED: QUIT"
"SMTPD" 9080 16 "2016-04-16 19:21:08.712" "127.0.0.1" "SENT: 221 goodbye"
"SMTPC" 8800 19 "2016-04-16 19:21:10.221" "65.55.37.88" "RECEIVED: 220 COL004-MC2F30.hotmail.com Sending unsolicited commercial or bulk e-mail to Microsoft's computer network is prohibited. Other restrictions are found at http://privacy.microsoft.com/en-us/anti-spam.mspx. Sat, 16 Apr 2016 17:21:09 -0700 "
"SMTPC" 8800 19 "2016-04-16 19:21:10.222" "65.55.37.88" "SENT: EHLO ASUS"
"SMTPC" 8392 19 "2016-04-16 19:21:10.417" "65.55.37.88" "RECEIVED: 250-COL004-MC2F30.hotmail.com (3.21.0.236) Hello [190.156.144.60][nl]250-SIZE 36909875[nl]250-PIPELINING[nl]250-8bitmime[nl]250-BINARYMIME[nl]250-CHUNKING[nl]250-STARTTLS[nl]250-AUTH LOGIN[nl]250-AUTH=LOGIN[nl]250 OK"
"SMTPC" 8392 19 "2016-04-16 19:21:10.418" "65.55.37.88" "SENT: STARTTLS"
"SMTPC" 8016 19 "2016-04-16 19:21:10.634" "65.55.37.88" "RECEIVED: 220 SMTP server ready"
"SMTPC" 8016 19 "2016-04-16 19:21:11.430" "65.55.37.88" "SENT: EHLO ASUS"
"SMTPD" 9080 18 "2016-04-16 19:21:11.549" "127.0.0.1" "SENT: 220 ASUS ESMTP"
"SMTPD" 8800 18 "2016-04-16 19:21:11.551" "127.0.0.1" "RECEIVED: HELO ASUS"
"SMTPD" 8800 18 "2016-04-16 19:21:11.552" "127.0.0.1" "SENT: 250 Hello."
"SMTPD" 8800 18 "2016-04-16 19:21:11.554" "127.0.0.1" "RECEIVED: MAIL FROM:<[email protected]>"
"SMTPD" 8800 18 "2016-04-16 19:21:11.557" "127.0.0.1" "SENT: 250 OK"
"SMTPD" 8016 18 "2016-04-16 19:21:11.558" "127.0.0.1" "RECEIVED: RCPT TO:<[email protected]>"
"SMTPD" 8016 18 "2016-04-16 19:21:11.565" "127.0.0.1" "SENT: 250 OK"
"SMTPD" 9080 18 "2016-04-16 19:21:11.566" "127.0.0.1" "RECEIVED: DATA"
"SMTPD" 9080 18 "2016-04-16 19:21:11.568" "127.0.0.1" "SENT: 354 OK, send."
"SMTPD" 9308 18 "2016-04-16 19:21:11.587" "127.0.0.1" "SENT: 250 Queued (0.016 seconds)"
"SMTPD" 8800 18 "2016-04-16 19:21:11.588" "127.0.0.1" "RECEIVED: QUIT"
"SMTPD" 8800 18 "2016-04-16 19:21:11.589" "127.0.0.1" "SENT: 221 goodbye"
"SMTPC" 8584 19 "2016-04-16 19:21:11.640" "65.55.37.88" "RECEIVED: 250-COL004-MC2F30.hotmail.com (3.21.0.236) Hello [190.156.144.60][nl]250-SIZE 36909875[nl]250-PIPELINING[nl]250-8bitmime[nl]250-BINARYMIME[nl]250-CHUNKING[nl]250-AUTH LOGIN[nl]250-AUTH=LOGIN[nl]250 OK"
"SMTPC" 8584 19 "2016-04-16 19:21:11.649" "65.55.37.88" "SENT: MAIL FROM:<[email protected]>"
"SMTPC" 424 19 "2016-04-16 19:21:12.481" "65.55.37.88" "RECEIVED: 550 DY-001 (COL004-MC2F30) Unfortunately, messages from 190.156.144.60 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."
"SMTPC" 424 19 "2016-04-16 19:21:12.482" "65.55.37.88" "SENT: QUIT"
"SMTPC" 424 21 "2016-04-16 19:21:13.257" "65.55.37.88" "RECEIVED: 220 COL004-MC2F8.hotmail.com Sending unsolicited commercial or bulk e-mail to Microsoft's computer network is prohibited. Other restrictions are found at http://privacy.microsoft.com/en-us/anti-spam.mspx. Sat, 16 Apr 2016 17:21:11 -0700 "
"SMTPC" 424 21 "2016-04-16 19:21:13.258" "65.55.37.88" "SENT: EHLO ASUS"
"SMTPC" 8584 21 "2016-04-16 19:21:13.692" "65.55.37.88" "RECEIVED: 250-COL004-MC2F8.hotmail.com (3.21.0.236) Hello [190.156.144.60][nl]250-SIZE 36909875[nl]250-PIPELINING[nl]250-8bitmime[nl]250-BINARYMIME[nl]250-CHUNKING[nl]250-STARTTLS[nl]250-AUTH LOGIN[nl]250-AUTH=LOGIN[nl]250 OK"
"SMTPC" 8584 21 "2016-04-16 19:21:13.693" "65.55.37.88" "SENT: STARTTLS"
"SMTPC" 9920 21 "2016-04-16 19:21:14.541" "65.55.37.88" "RECEIVED: 220 SMTP server ready"
"SMTPC" 9920 21 "2016-04-16 19:21:15.279" "65.55.37.88" "SENT: EHLO ASUS"
"SMTPC" 9920 21 "2016-04-16 19:21:16.284" "65.55.37.88" "RECEIVED: 250-COL004-MC2F8.hotmail.com (3.21.0.236) Hello [190.156.144.60][nl]250-SIZE 36909875[nl]250-PIPELINING[nl]250-8bitmime[nl]250-BINARYMIME[nl]250-CHUNKING[nl]250-AUTH LOGIN[nl]250-AUTH=LOGIN[nl]250 OK"
"SMTPC" 9920 21 "2016-04-16 19:21:16.285" "65.55.37.88" "SENT: MAIL FROM:<[email protected]>"
"SMTPC" 8584 21 "2016-04-16 19:21:16.462" "65.55.37.88" "RECEIVED: 550 DY-001 (COL004-MC2F8) Unfortunately, messages from 190.156.144.60 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."
"SMTPC" 8584 21 "2016-04-16 19:21:16.463" "65.55.37.88" "SENT: QUIT"
"SMTPD" 9080 20 "2016-04-16 19:21:40.848" "127.0.0.1" "SENT: 220 ASUS ESMTP"
"SMTPD" 8584 20 "2016-04-16 19:21:40.850" "127.0.0.1" "RECEIVED: HELO ASUS"
"SMTPD" 8584 20 "2016-04-16 19:21:40.851" "127.0.0.1" "SENT: 250 Hello."
"SMTPD" 9080 20 "2016-04-16 19:21:40.852" "127.0.0.1" "RECEIVED: MAIL FROM:<[email protected]>"
"SMTPD" 9080 20 "2016-04-16 19:21:40.855" "127.0.0.1" "SENT: 250 OK"
"SMTPD" 8584 20 "2016-04-16 19:21:40.856" "127.0.0.1" "RECEIVED: RCPT TO:<[email protected]>"
"SMTPD" 8584 20 "2016-04-16 19:21:40.859" "127.0.0.1" "SENT: 250 OK"
"SMTPD" 8584 20 "2016-04-16 19:21:40.860" "127.0.0.1" "RECEIVED: DATA"
"SMTPD" 8584 20 "2016-04-16 19:21:40.862" "127.0.0.1" "SENT: 354 OK, send."
"SMTPD" 9308 20 "2016-04-16 19:21:40.884" "127.0.0.1" "SENT: 250 Queued (0.016 seconds)"
"SMTPD" 8392 20 "2016-04-16 19:21:40.885" "127.0.0.1" "RECEIVED: QUIT"
"SMTPD" 8392 20 "2016-04-16 19:21:40.886" "127.0.0.1" "SENT: 221 goodbye"
"SMTPD" 9080 22 "2016-04-16 19:21:43.232" "127.0.0.1" "SENT: 220 ASUS ESMTP"
"SMTPD" 8584 22 "2016-04-16 19:21:43.234" "127.0.0.1" "RECEIVED: HELO ASUS"
"SMTPD" 8584 22 "2016-04-16 19:21:43.235" "127.0.0.1" "SENT: 250 Hello."
"SMTPD" 9080 22 "2016-04-16 19:21:43.236" "127.0.0.1" "RECEIVED: MAIL FROM:<[email protected]>"
"SMTPD" 9080 22 "2016-04-16 19:21:43.239" "127.0.0.1" "SENT: 250 OK"
"SMTPD" 9080 22 "2016-04-16 19:21:43.240" "127.0.0.1" "RECEIVED: RCPT TO:<[email protected]>"
"SMTPD" 9080 22 "2016-04-16 19:21:43.242" "127.0.0.1" "SENT: 250 OK"
"SMTPD" 8392 22 "2016-04-16 19:21:43.243" "127.0.0.1" "RECEIVED: DATA"
"SMTPD" 8392 22 "2016-04-16 19:21:43.245" "127.0.0.1" "SENT: 354 OK, send."
"SMTPD" 9308 22 "2016-04-16 19:21:43.263" "127.0.0.1" "SENT: 250 Queued (0.016 seconds)"
"SMTPD" 9080 22 "2016-04-16 19:21:43.264" "127.0.0.1" "RECEIVED: QUIT"
"SMTPD" 9080 22 "2016-04-16 19:21:43.265" "127.0.0.1" "SENT: 221 goodbye"


php.ini
; 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]
sendmail.ini
smtp_server=localhost

; smtp port (normally 25)

smtp_port=25

; SMTPS (SSL) support
; auto = use SSL for port 465, otherwise try to use TLS
; ssl = alway use SSL
; tls = always use TLS
; none = never try to use SSL

smtp_ssl=auto

; the default domain for this server will be read from the registry
; this will be appended to email addresses when one isn't provided
; if you want to override the value in the registry, uncomment and modify

;default_domain=mydomain.com

; log smtp errors to error.log (defaults to same directory as sendmail.exe)
; uncomment to enable logging

error_logfile=error.log

; create debug log as debug.log (defaults to same directory as sendmail.exe)
; uncomment to enable debugging

;debug_logfile=debug.log

; if your smtp server requires authentication, modify the following two lines

[email protected]
auth_password=123456