Give help. Get help.

  • # February 18, 2013 at 7:15 pm

    Hi all!

    I want to use the contact form which Chris is created and when I click on send button the message comes and tells “The message has been sent successfully” but actually I don’t get any emails.

    # February 19, 2013 at 11:18 am

    I’m on apache server now and using the script in live server.

    I also checked my spam folder but nothing is there.

    I thought it could because of I didn’t touch “$EmailFrom = “”;”
    then I change it to mine but again it didn’t work.

    Please help!

    # February 19, 2013 at 5:06 pm

    Do you have PHP installed on the server? Or just Apache? It will not work with out PHP.

    # February 19, 2013 at 5:54 pm

    I have these lines:

    $EmailFrom = “”;

    $EmailTo = “”;

    $Subject = “Nice & Simple Contact Form by CSS-Tricks”;

    $Name = Trim(stripslashes($_POST));

    $Subject = Trim(stripslashes($_POST));

    $Email = Trim(stripslashes($_POST));

    $Message = Trim(stripslashes($_POST));

    but yours is different from mine I think.

    # February 19, 2013 at 6:17 pm

    Why don’t you just use a script that does work right out of the gate?

    # February 20, 2013 at 6:28 pm


    which script for example?


    I didn’t get exactly what to do. I want to use the mail script as chris’s and show a message for success or error after sending mails.

    # February 20, 2013 at 7:46 pm

    Post complete code here so we can see script in its entirety. From the code sample you provided it is unclear if you are passing variables to the mail() function correctly.

    # February 20, 2013 at 9:35 pm

    You could try your hand at mine I put together…

    # February 21, 2013 at 7:24 am


    I uploaded the file mail.php holding your codes on my hosting but it didn’t work then I decided to check in another hosting and it worked. So as you said it was about my hosting and I should talk with the moderators to see what they can do for me.

    Thank you so much for these kind helps! I really apperciate your work.

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.