$result=mysql_query($sql);
if($result)
{
// ---------------- SEND MAIL FORM ----------------
// send e-mail to ...
$to=$email;
// Your subject
$subject="Your confirmation link here";
// From
$header="from: Welcome to gvmgvhgvmhgm <info@hgfgfcjhgv.com>";
// Your message
$message="Your Comfirmation link \r\n";
$message.="Click on this link to activate your account \r\n";
$message.="Welcome to dtnhngg .com .. Make your journey more comfortbale";
$mailedby="mailed-by: jfncghjnhgn.com";
// send email
$sentmail = mail($to,$subject,$message,$header,$mailedby);
if($sentmail){
echo "Your Confirmation link Has Been Sent To Your Email Address.";
}
die(mysql_error());
mysql_close();
?>
i m using this code to send mail ... But my mails are going directly to the spam folder .. Any help regarding this ???