Hi,
I am using the following lines of code to send mail using php.
<?php
$to = "manojks@gmail.com";
$subject = "test mail";
$message = "Hello! This is a simple email message.";
$from = "manojks@gmail.com";
$headers = "From:" . $from;
if(mail($to,$subject,$message,$headers)){
echo("<p>Message successfully sent!</p>");
} else {
echo("<p>Message delivery failed...</p>");
}
?>
But unfortunately, it is not working.
Kindly suggest me.

