Why should I rely on PHPJabbers.com for all my PHP scripting needs? What do you offer me when buying some script?
  • Top quality scripts
  • Full demo before buying
  • Best pricing
  • Script customization
  • 7 days a week support
  • Installation support
  • Secure buying
  • Make contact form and send email in PHP

    posted on 2006-07-03 00:04:12
    Comments
    Day posted on 2007-08-01 02:16:36
    The PHP code that send the email also tells how the email will be displayed, right? Is there a way to modify this using say...tables or something so that we can define exactly how we want the email that the forms sends to look?
    ---------------------
    Veselin: yes you can modify this code
    $MESSAGE_BODY = "Name: ".$_POST["name"]."<br>";
    $MESSAGE_BODY .= "Email: ".$_POST["email"]."<br>";
    $MESSAGE_BODY .= "Comment: ".nl2br($_POST["comment"])."<br>";
    and add tables to modify the way email looks

    Maverick posted on 2007-07-26 17:55:11
    Hi all,
    how much is the fee to join the formmail with the captcha test?

    Tom posted on 2007-07-13 10:45:29
    Hi it says the mail is sent but I'm not getting it in my inbox? It's no where to be found. What am I doing wrong?
    --------------------------
    Veselin: it is possible that you server is set to not allow sending emails using mail() function. Contact your hosting company and ask for the right PHP code to send email using a PHP script

    Paolo posted on 2007-07-07 23:44:06
    Hi... The whole thing went directly to my junk mail, is there a way that I could fix this thing. Thanks for the help I found it very helpful and is working for my website. Now I'm going to use it for my clients.

    ja posted on 2007-07-05 10:46:22
    when you copy all this test ,so u need test it in server ,or u should to have mail sever first ,so that it can work ..

    karen posted on 2007-07-03 23:08:42
    i don't understand how to do this.

    1. i make a file test.php and paste the first set of codes there

    then where do i put the next two set of codes?

    Bridget posted on 2007-07-03 19:18:59
    How would I capture the IP address of the person sending the form? The CGI formmail I was using captured the IP Address, HTTP USER AGENT, and Date. How would I incorporate that into this script?
    ------------------
    Veselin: you can use this to get user IP address
    $access_ip = (getenv(HTTP_X_FORWARDED_FOR)) ? getenv(HTTP_X_FORWARDED_FOR) : getenv(REMOTE_ADDR);

    Charles Sandor posted on 2007-05-31 18:50:44
    How would you write the coding if you have incorporated a selection using radio buttons and a selection from a drop down list?
    Thanks
    ----------------------
    Veselin: you can the same code for getting radion button value or drop down value - $_POST["dropdownname"] or $_POST["radiobuttonname"]

    life posted on 2007-05-27 23:23:34
    May i ask you how to make the button send active?
    -----------------
    PHPjabbers.com : can you please elaborate

    tyson posted on 2007-05-21 18:50:47
    This worked great!

    Is there a way to redirect to a thank you page instead of "Your form has been submitted" after the submission?

    Pages:   1 2 3 4 5
       
    If you have any additions, suggestions or modifications for this example please contact us or use the form below.
       
    Your name:
    Your email: (email address will not be posted on the web site)
    Comment:
    Verification