recommend php email form with these criteria?

Discussion in 'PHP' started by jacka, Jul 29, 2008.

  1. #1
    Hi every one.
    Can some one please recommend a php email script with following facilities:
    1) php script
    2) User be able to get a copy of the details entered in the form, automatically
    3) Be customisable, so i can enter some database values in the form.
    4) Be fairly simple to follow
    5) Not use PHP 5 ( use only below version 5)
    6) Be free
    7) Safe

    Thanks for your time.
    :confused::confused:
     
    jacka, Jul 29, 2008 IP
  2. selling vcc

    selling vcc Peon

    Messages:
    361
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Maybe you need a custom script, I can do it for you for a symbolic price if you want...
     
    selling vcc, Jul 29, 2008 IP
  3. jacka

    jacka Peon

    Messages:
    165
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi
    Ok, let me see if I can narrow my request done.
    Can any one recommend a form to email php script that can automatically send, the user, a copy of the email that I receive?
    I ahve searched for this for two days now.

    Oh yes, prefer it if it is free.
    Thanks for your time.
    :confused::confused:
     
    jacka, Jul 30, 2008 IP
  4. mallorcahp

    mallorcahp Peon

    Messages:
    141
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Very basic script, loops through all the fields that have been submitted by the form, ads them to the message body and send and email to the email address that was submitted on form and to yours (edit the $sendTo = ... line)

    Make sure the email field in the form is named "email"

    for POST form:

    $sendTo = $_POST['email'] . ", youremail@yourdomain.com" ;
    $sendSubj = "Put the Subject here" ;
    
    $sendMsg = "<HTML><BODY>" ;
    foreach ($_POST as $key => $value) $sendMsg = $sendMsg . $key . ":" . $value."<BR>" ;
    $sendMsg = $sendMsg . "</BODY></HTML>" ;
    
    mail($sendTo, $sendSubj, $sendMsg,"From: $email\nX-Mailer: PHP 4.x\nContent-type: text/html; charset=iso-8859-1"); 
    Code (markup):

    for GET form:

    $sendTo = $_GET['email'] . ", youremail@yourdomain.com" ;
    $sendSubj = "Put the Subject here" ;
    
    $sendMsg = "<HTML><BODY>" ;
    foreach ($_GET as $key => $value) $sendMsg = $sendMsg . $key . ":" . $value."<BR>" ;
    $sendMsg = $sendMsg . "</BODY></HTML>" ;
    
    mail($sendTo, $sendSubj, $sendMsg,"From: $email\nX-Mailer: PHP 4.x\nContent-type: text/html; charset=iso-8859-1"); 
    Code (markup):
     
    mallorcahp, Jul 30, 2008 IP