php contact form mail - function
i have written code for php contact form. but not working
";
$message = "Name: $name";
if(mail($to, $subject, $headers, $message)){
echo 'mail sent';
}
else{
echo 'error in server handling';
}
}
?>
Send