Jump to content

The Specified Module Cannot be Found


Recommended Posts

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 = "fakeemailadddress@isp.com";

$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? 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.