Announcement

Collapse
No announcement yet.

Please Help Autoresponder Not Works

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    www.mercataworld.com
    www.marradonconstructions.com
    www.ekm-inspirationalmusic.com

  • #2
    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!

    Comment


    • #3
      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
      www.mercataworld.com
      www.marradonconstructions.com
      www.ekm-inspirationalmusic.com

      Comment


      • #4
        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!

        Comment


        • #5
          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
          www.mercataworld.com
          www.marradonconstructions.com
          www.ekm-inspirationalmusic.com

          Comment


          • #6
            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!

            Comment


            • #7
              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
              www.mercataworld.com
              www.marradonconstructions.com
              www.ekm-inspirationalmusic.com

              Comment

              Working...
              X