Forums

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

Home Forums Other A Nice & Simple Contact Form Problems

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #25615
    highandwild
    Member

    Hi all

    I’ve just found this site and it looks fantastic.

    I’m new to this game of website design, you could call me a virgin, so please be gentle with me and
    do not use lots of those impossible to as yet understand words and abbreviations!!!!

    I’ve tried to implement A Nice & Simple Contact Form but the emails just end up in my junk box.

    Apart from that it looks like it works fine but I will build the form into the template that I have developed.

    What should I do differently?

    What should I look out for when making this go live as I want it to work for whoever uses it?

    Thanks guys and gals.

    Justin

    #70445
    Chris Coyier
    Keymaster

    Hi I"m new to this php stuff, but I’m trying to use the form as well and I’m having problems to. when ever I try a test it goes to some error page and no email gets sent

    I’m using a windows server I’m not sure if thats the problem, but please can someone help me out…

    contact engine php;

    Code:
    “;
    exit;
    }

    // prepare email body text
    $Body = “”;
    $Body .= “Name: “;
    $Body .= $Name;
    $Body .= “n”;
    $Body .= “Tel: “;
    $Body .= $Tel;
    $Body .= “n”;
    $Body .= “Email: “;
    $Body .= $Email;
    $Body .= “n”;
    $Body .= “Message: “;
    $Body .= $Message;
    $Body .= “n”;

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

    /* Modification by Toni for Windows servers */
    ini_set(“sendmail_from”, “$Email”);

    // redirect to success page
    if ($success){
    print ““;
    }
    else{
    print ““;
    }
    ?>

    contact us form;

    Code:


    City-Sightseeing Toronto Contact Form

    A Nice & Simple Contact Form

    City Sightseeing Toronto is located at:

    249 Queens Quay West. Toronto, ON M5J 2N5

    Telephone: 416-410-0536

    Email: i[email protected]

    Please fill out all the information below and we’ll get in touch with you as soon as possible.






    Thanks in Advance

    #70943
    Chris Coyier
    Keymaster

    I figured out what the issue was….I had a htaccess file on my server. not sure what it was doing there, but that caused alot of issues I was having. hope that helps some of you who had the same issue

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