Código PHP:
$msgHeader .= "MIME-Version: 1.0\n";
$msgHeader .= "Content-type: text/html; charset=us-ascii\n"; #PAGINA A LA QUE REDIRIGE EL MAIL, (ABAJO).
$msgBody ="<html><head><title>Registro de usuario.</title> <body>Para finalizar el registro e introducir tu contraseña, haz click <a href='http://www.ligabenidorm.com/reg_nuevo_usuario.php?p=$pass'>aqui</a> </body> </head></html>";
$recepient= '[email protected]';
$subject= 'Registro de Usuario';
$a=mail($recepient,$subject, $msgBody, $msgHeader);
Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:\Archivos de programa\Apache Software Foundation\Apache2.2\htdocs\murada\funciones.php on line 103
Todo normal. Pero cuando lo subo a remoto no me produce ningun error, todo funciona segun lo esperado y no se envia ningun mail. La cuenta de correo [email protected] esta creada correctamente.
Creeis que sera la culpa de mi proveedor de servicios de internet o deberia modificar yo algo?????
![Stress](http://static.forosdelweb.com/fdwtheme/images/smilies/stress.png)
Gracias de antemano.