Results 1 to 7 of 7

Thread: Please Help Autoresponder Not Works
      
   

  1. #1
    zc290549's Avatar
    zc290549 is offline Major
    Join Date
    Jul 2006
    Location
    I live in Mornington 50k from Melbourne Australia
    Posts
    258

    Question Please Help Autoresponder Not Works

    Hello BV Friends,

    Please I need help regarding autoresponder. I follow instructions from our
    Great Lt. General Navaldesign in my website I have 2 forms and I’d like
    Make the some in both for reservation page and contact us page.

    I put this code in reservation.php and html page

    // Autoresponder
    $mailto = $email;
    $mailsubj = "Copy of the information you Sumbitted";
    $mailhead = " From: Mornington Motel\n";
    reset ($HTTP_POST_VARS);
    $mailbody = " Thank you for tour Submission. This is the info you have submitted:\n";
    while (list ($key, $val) = each ($HTTP_POST_VARS))
    {
    if ($key!="submit")
    {
    $mailbody .= "$key : $val\n";
    }
    }
    mailbody .= "This is an automatically created message. If an answer is required, we will back to you ASAP.\n";
    mail($mailto, $mailsubj, $mailbody, $mailhead);

    Please, can you help me with this problem

    Thanks you so much for your support

    Regards,

    Zlatko
    www.mornington-motel.com

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

    Default Re: Please Help Autoresponder Not Works

    And what excactly is the problem ?
    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
    zc290549's Avatar
    zc290549 is offline Major
    Join Date
    Jul 2006
    Location
    I live in Mornington 50k from Melbourne Australia
    Posts
    258

    Question Re: Please Help Autoresponder Not Works

    Thanks Navaldesign for your respond. Problem is If I put data in Reservation page
    www.mornington-motel.com data come to motel email box but I not
    received confirmation from customer who send reservation. Did I must
    put your code in my reservation.html page or reservation.php

    Thanks for your help and support

    Regards,

    Zlatko
    www.mornington-motel.com

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

    Default Re: Please Help Autoresponder Not Works

    It should be in your reservation php. The autoresponder part of the script, is NOT a stand alone script. It goes with the rest of the script that processes the form info. your full script should be something like:

    <?PHP
    $email = $HTTP_POST_VARS[email];
    $mailto = " youremail@example.com ";
    $mailsubj = "
    Enter Your Subject Here";
    $mailhead = "From: $email\n";
    reset ($HTTP_POST_VARS);
    $mailbody = "Values submitted from web site form :\n";
    while (list ($key, $val) = each ($HTTP_POST_VARS))
    {
    if ($key!="submit")
    {
    $mailbody .= "$key : $val\n";
    }
    }
    mail($mailto, $mailsubj, $mailbody, $mailhead);



    // Autoresponder

    $mailto = $email;
    $mailsubj = "Copy of the information you Sumbitted";
    $mailhead = " From: Mornington Motel\n";
    reset ($HTTP_POST_VARS);
    $mailbody = " Thank you for your Submission. This is the info you have submitted:\n";
    while (list ($key, $val) = each ($HTTP_POST_VARS))
    {
    if ($key!="submit")
    {
    $mailbody .= "$key : $val\n";
    }
    }
    $mailbody .= "This is an automatically created message. If an answer is required, we will back to you ASAP.\n";
    mail($mailto, $mailsubj, $mailbody, $mailhead);

    ?>

    Then you should put this code in the "Inside body" of your reservation.php page.

    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
    zc290549's Avatar
    zc290549 is offline Major
    Join Date
    Jul 2006
    Location
    I live in Mornington 50k from Melbourne Australia
    Posts
    258

    Question Re: Please Help Autoresponder Not Works

    Thanks Navaldesign for your time and help but after I put corect code in
    Reservation.php I receive this message...

    Parse error: syntax error, unexpected T_CONCAT_EQUAL in /home/adudvnlx/public_html/Reservation.php on line 124

    Please, did you have some idea about this message.

    Regards,

    Zlatko
    www.mornington-motel.com

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

    Default Re: Please Help Autoresponder Not Works

    Try it again now. There was a $ (the one in red color) missing.
    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!


  7. #7
    zc290549's Avatar
    zc290549 is offline Major
    Join Date
    Jul 2006
    Location
    I live in Mornington 50k from Melbourne Australia
    Posts
    258

    Default Re: Please Help Autoresponder Not Works

    Hello Navaldesign,

    Thanks you so much for your help. Its pleasure works with great professional
    BV People. What I like give point that BV has best members on this planet.
    We all like $$$ but some time this $ make you problem if you don’t put in html
    Thanks again Navaldesign.

    Regards,

    Zlatko
    www.mornington-motel.com

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