Ver Mensaje Individual
  #1 (permalink)  
Antiguo 31/08/2005, 10:31
chcma
 
Fecha de Ingreso: junio-2003
Ubicación: Asturias
Mensajes: 2.429
Antigüedad: 20 años, 10 meses
Puntos: 7
Enviar eMail PHP-Apache con Windows 2000

Hola buenas tardes !!!

Pues verán, tengo en el PHP.ini la siguiente configuración para poder enviar mis eMails:

; For Win32 only. PONGO MI IP
SMTP = XXX.XX.XXX.XX
smtp_port = 25

; For Win32 only.
sendmail_from = carlos

Pero al enviar eMail no me da fallo, pero sinembargo no me llegan. Mi código par aenviar eMail es el siguietne:


Código:
<?

$usuario = $_POST['txtLogin'];
$clave = $_POST['txtClave'];
$cabeceras = "Content-type: text/html\n";

mail("[email protected]",  "Registro", "<b>Usuario: </b>".$usuario."<br><br>Clave: ".$clave, $cabeceras);
?>

¿Alguien sabe si me falta algo en el PHP.INI?
__________________
Charlie.