hey,my mail() function dsn't work ! i have configure the php.ini ;
<code>For Unix only. You may supply arguments as well (default: "sendmail -t -i").
sendmail_path = /usr/sbin/sendmail
and the script is simple
$to = "email@example.com";
$subject = "Test mail";
$message = "Hello! This is a simple email message.";
$from = "firstname.lastname@example.org";
$headers = "From:" . $from;
echo "Mail Sent.";
i got fail always !