Ver Mensaje Individual
  #4 (permalink)  
Antiguo 23/03/2004, 18:26
Gotrek
 
Fecha de Ingreso: marzo-2004
Mensajes: 44
Antigüedad: 20 años, 1 mes
Puntos: 0
Acabo de probar ha mandar 1 mail con este simple codigo:

<?
$enviar = mail("[email protected]","Probando funcion mail","esto es el texto del mail");
?>

y me sigue dando este error:

Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in C:\www\new_SW\mail.php on line 2

He intentado hacerlo desde un hostin gratuito (hotpop.com, q te deja mandar mails mediante SMTP sin necesidad de autentificarte), he configurado el php.ini :

[mail function]
; For Win32 only.
SMTP = smtp.hotpop.com

; For Win32 only.
sendmail_from = [email protected]

y me da el mismo error:

Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in C:\www\new_SW\mail.php on line 2


Ya si q no tengo ni idea de xq puede ser