I want to send mail from my php site. But i dont have any idea about how to configur it. I am using BigRock Hosting service. And the code below shown is using now as the sendmail.php page to send mail..
<?php $to = $to; $subject = "My subject here"; $message = "Hello! This is a simple email message."; $from = "Mymailaddress@example.com"; $headers = "From:" . $from; mail($to,$subject,$message,$headers); echo "Mail Sent."; ?>
Please help me!!