|
Hi alcool9999,
This may script may help you,
Use this and try ,
$mail_to="to@example.com";
$mail_from = "from@example.com";
$mail_sub = "sample"; // The Subject of the email
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= "From: $mail_from";
$mail_mesg ="some text ";
mail($mail_to,$mail_sub,$mail_mesg,$headers);
You have not mentioned the header in the parameters.
Thanks
Last edited by JohnDubya; 09-22-2009 at 04:21 PM..
Reason: Removed advertisement links
|