themav54 Posted September 13, 2011 Share Posted September 13, 2011 Hi Everyone, For some reason, on a couple of websites that have a email form that you submit, when a user submits they get an error saying 'The specified Module Cannot Be Found'. I am fairly new in php administration, so I don't know what to do. I couldn't find any php error logs about this. Here is the php code for one of the sites: <?php /*Here we are going to declare the variables*/ $name = $_POST['name']; $email = $_POST['email']; $message = $_POST['message']; //Save visitor name and entered message into one variable: $formcontent="Visitor Name: $name\n\nFEEDBACK: $message"; $recipient = "[email protected]"; $subject = "ECE Grants Contact Form"; $mailheader = "From: $email\r\n"; $mailheader .= "Reply-To: $email\r\n"; $mailheader .= "MIME-Version: 1.0\r\n"; mail($recipient, $subject, $formcontent, $mailheader) or die("Failure!"); echo "Thank You!<br>\n"; echo "We have received your message!<br>\n"; //echo $mailheader; //echo "<br>\n"; //echo $mailheader1; //echo "<br>\n"; //echo $recipient1; ?> Does anyone know what might be causing this? Quote Link to comment https://forums.phpfreaks.com/topic/247056-the-specified-module-cannot-be-found/ Share on other sites More sharing options...
themav54 Posted September 13, 2011 Author Share Posted September 13, 2011 Sorry - this is for an IIS environment running the latest version of php. Quote Link to comment https://forums.phpfreaks.com/topic/247056-the-specified-module-cannot-be-found/#findComment-1268779 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.