Results 1 to 6 of 6

Thread: How to get form results to email to ADDR in the form
      
   

  1. #1
    buzzardb is offline Private First Class
    Join Date
    Jan 2006
    Location
    oregon
    Posts
    5

    Question How to get form results to email to ADDR in the form

    I need some help. How do I get the results of a form to email directly to the customer's email address they entered on the form?

  2. #2
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: How to get form results to email to ADDR in the form

    You mean appart from the email that will be sent to you ? Just add before the end of the script the same code used for sending the email to you, changing the subject, and the destination email address.

    For example, my script ends like this:

    //Sending Email to form owner
    $pfw_header = "From: $Email\n"
    . "Reply-To: $Email\n";
    $pfw_subject = "Data submitted from Navaldesign Feedback Form";
    $pfw_email_to = "myemail@navaldesign.info";
    $pfw_message = "Email : $Email\n"
    . "Nome : $Nome\n"
    . "Cognome : $Cognome\n"
    . "Azienda : $Azienda\n"
    . "Posizione : $Posizione\n"
    . "Indirizzo : $Indirizzo\n"
    . "Citta : $Citta\n"
    . "Provincia - CAP : $Provincia\n"
    . "Nazione : $Nazione\n"
    . "Telefono : $Telefono\n"
    . "Fax : $Fax\n"
    . "Cellulare : $Cellulare\n"
    . "Sito Internet : $Sito_Internet\n"
    . "Testo di_contatto : $Testo_di_contatto\n"
    . "Priorita : $Priorita\n"
    . "Modalita Risposta : $Modalita_Risposta\n"
    . "Come ci avete trovato?: $Come_ci_avete_trovato\n";

    *****($pfw_email_to, $pfw_subject ,$pfw_message ,$pfw_header ) ;



    //Sending auto respond Email to visitor
    $pfw_header = "From: Studio Tecnico Navaldesign"
    . "This is an automatic responder. If you need further\n"
    . "communication please reply to: myemail@navaldesign.info\n";
    $pfw_subject = "Contact Confirmation";
    $pfw_email_to = $Email;
    $pfw_message = "Thankyou for your submission. Your form data has been submitted.\n"
    ."This is what we have received: \n"
    . "................................................. \n"
    . "Email : $Email\n"
    . "Nome : $Nome\n"
    . "Cognome : $Cognome\n"
    . "Azienda : $Azienda\n"
    . "Posizione : $Posizione\n"
    . "Indirizzo : $Indirizzo\n"
    . "Citta : $Citta\n"
    . "Provincia - CAP : $Provincia\n"
    . "Nazione : $Nazione\n"
    . "Telefono : $Telefono\n"
    . "Fax : $Fax\n"
    . "Cellulare : $Cellulare\n"
    . "Sito Internet : $Sito_Internet\n"
    . "Testo di_contatto : $Testo_di_contatto\n"
    . "Priorita : $Priorita\n"
    . "Modalita Risposta : $Modalita_Risposta\n"
    . "Come ci avete trovato?: $Come_ci_avete_trovato\n"


    . "If an answer is required we shall get back to you as soon as possible.\n"
    . "Navaldesign staff.\n";
    *****($pfw_email_to, $pfw_subject ,$pfw_message ,$pfw_header ) ;

    header("Location: thankyou_page.html");


    The field (and the variables names) are in Italian, but i think it is pretty clear
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  3. #3
    buzzardb is offline Private First Class
    Join Date
    Jan 2006
    Location
    oregon
    Posts
    5

    Default Re: How to get form results to email to ADDR in the form

    Thanks; The problem is I am terrible with html....Using the form builder, I have set the email as mailto: "my email address". It is sending to me, but I don't know how to get it to email to the customer as well.

  4. #4
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: How to get form results to email to ADDR in the form

    You can't do it this way. You can only set an autoresponder with a pre-deternined message through your CP
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  5. #5
    buzzardb is offline Private First Class
    Join Date
    Jan 2006
    Location
    oregon
    Posts
    5

    Default Re: How to get form results to email to ADDR in the form

    Sorry for the troubles...I am so new at this....If I am reading you correctly, I have to set my autoresponder to email the details of the form. Do I need to brush up on html language to accomplish this?

  6. #6
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: How to get form results to email to ADDR in the form

    In php. You need a php script. Take a tour at Andy's tutorials clicking here
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49