If my site is using mod_php, this script works perfect.
If I use FastCGI, I get an error 500 page... Is it possible that each page actually running ok in mod_php runs ok in fastcgi, or problems like this are common? please help! by the way, how can I make it work?
$cuerpo= 'testing from web';
$envio = mail($mail,$asunto,$cuerpo);
if($envio == true)
echo'Send status:<br/>Sent ok!<br/>';
echo'Send status:<br/>Error sending!<br/>';
Edit: Added SuEXEC to site and it works perfectly... FastCGI+SuEXEC is a must? thanks
Edit2: my mails are being sending, with this script (FastCGI+SuEXEC) from sender: "firstname.lastname@example.org". How can I change this for every website to be email@example.com
(for example, would be great to us ServerAdmin as default sender!!)
Really, thanks for your help, this are the last details that I have to correct in order to launch servers into production state!