I Have a Feedback form in my site. when i submitting the form in Linux server it is working fine. But in Windows server the mail was not sending. here is my code<?php $to = "sudhakar@mysite.com"; $subject = $_REQUEST['Feedback'] ; $email = $_REQUEST['Email'] ; $message = $_REQUEST['Summary'] ; $From = $_REQUEST['Name'] ;$headers = "From: $email"; $sent = mail($to, $subject, $message, $headers); if($sent) {print "Your mail was sent successfully"; }else {print "We encountered an error sending your mail"; }?> when i running this code in Windows server the message is shows "We encountered an error sending your mail"So, Plz help me what is the error and how to catch that error?plz, it is urgent