The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Simple Contact Form Problems

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #31835

    Hi. I’ve never really worked with PHP but I’ve been trying to use the Nice & Simple Contact Form. It seems like it works but when I hit submit to test it, I never receive the email back. Any ideas as to what’s going wrong?

    My PHP:

    $EmailFrom = "[email protected]";
    $EmailTo = "[email protected]";
    $Subject = "New Contact Form Response";
    $Name = Trim(stripslashes($_POST));
    $Email = Trim(stripslashes($_POST));
    $Message = Trim(stripslashes($_POST));

    // validation
    if (!$validationOK) {
    print "";

    // prepare email body text
    $Body = "";
    $Body .= "Name: ";
    $Body .= $Name;
    $Body .= "n";
    $Body .= "Email: ";
    $Body .= $Email;
    $Body .= "n";
    $Body .= "Message: ";
    $Body .= $Message;
    $Body .= "n";

    // send email
    $success = mail($EmailTo, $Subject, $Body, "From: <$EmailFrom>");

    // redirect to success page
    if ($success){
    print "";
    print "";

    And the html:

    Cream & Two Sugars

    Please feel free to contact me via email or the form below.


    Sometimes these forms do take a while to send. I set one up recently that would take like 30 minutes to arrive. I thought it was broken til I started getting them in my inbox. Awkwardly enough, some went to my spam folder as well. I assume gmail is more on top of spam than yahoo is so the first thing I would do check is your spam folder.


    Thanks for your help but I got the problem fixed. I think it had to do with GoDaddy’s handling of emails with PHP but I just used a different method and now have a working comment box.


    What did you do to fix the problem. I’m running into the same issue.


    I’m having the same problem too! It looks like the only thing I can do is change the method of posting the information gathered by the contact form via some other means that doesn’t involved PHP right?

    I’ve been back and forth with the GoDaddy support team for 3 days now and they haven’t mentioned a thing about issues with PHP contact forms, despite me mentioning is several times. They are useless.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Back End’ is closed to new topics and replies.