Give help. Get help.

  • # April 1, 2009 at 8:29 pm

    k well i’ve just finished my portfolio site, and i have been doing tutorials so i can learn php and i followed it to the letter but for some reason it doens’t send the e-mail to my inbox. the site link is

    on the contact page i have a regular contact form


    and then in my php page form_response.php

    < ?php $name = $_REQUEST['name']; $email = $_REQUEST['email']; $comment = $_REQUEST['comment']; $email_message = "Name: {$name} and your email is {$email} and your comment is {$comment}."; mail( "",'Form Response ', "$email"); header( "Location:" ); ?>

    its a simple bit of code but i haven’t a clue why its not working. can anyone help out a pure noob at this?

    # April 2, 2009 at 10:24 pm

    Alright gangsta give this a whirl, and if that doesnt work make sure your server is properly configured to send mail.


    < ?php $name = $_POST['name']; $email = $_POST['email']; $comment = $_POST['comment']; mail( "", $comment, $email); echo "Mail Sent."; ?>
    # April 3, 2009 at 5:16 am

    it seems that the server is the problem gonna check it now to see if it supports it

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

You must be logged in to reply to this topic.