I have to send mail via website. I am using mail() function for the same. The problem is mail is not being sent and i am not able to identity the issue. Please help me.
here is the code that i am using :
<?php
$to="[email protected]";
$headers="FROM:[email protected]"."\r\n"."BCC:[email protected]";
$subject="Customer Details.";
$message="Following are the details of the customer - NAME :".$name." CONTACT NO :".$no." ORGANIZATION & DESIGNATION: ".$od."" ;
//echo $message;
mail($to, $subject, $message, $header);
?>
Here the $variables are coming from a form. They re all good.