+ Reply to Thread
Results 1 to 4 of 4

Thread: form email assistance
      
   

  1. #1
    tidustom is offline Sergeant
    Join Date
    Jul 2007
    Posts
    27

    Default form email assistance

    Hi all

    Have set some contact forms on my site when i enter data i get the thankyou message ok.

    Problem is the notification doesn't arrive to me.


    HELP!!!!!

    http://www.paphosvirtualtours.com/contact.html

    Thank you in advance


    Bernie

  2. #2
    Andy128's Avatar
    Andy128 is offline Major General
    Join Date
    Dec 2005
    Location
    Michigan
    Posts
    2,322

    Default Re: form email assistance

    Bernie-
    Could you also post the php code used to process the form.

    Andy
    PHP- is a blast!

  3. #3
    tidustom is offline Sergeant
    Join Date
    Jul 2007
    Posts
    27

    Default Re: form email assistance

    Hi this is the code from my form:

    <form name="quote" method="POST" action="action.php" enctype="multipart/form-data" id="Form2">
    <input type="text" id="Editbox2" style="position:absolute;left:109px;top:12px;width :144px;font-family:Courier;font-size:19px;z-index:9" size="16" name="name1" value="">
    <div id="bv_Text4" style="position:absolute;left:49px;top:14px;width: 53px;height:16px;z-index:10" align="left">
    <font style="font-size:13px" color="#000000" face="Arial">Name</font></div>
    <input type="text" id="Editbox1" style="position:absolute;left:107px;top:52px;width :144px;font-family:Courier;font-size:19px;z-index:11" size="16" name="Email" value="">
    <div id="bv_Text3" style="position:absolute;left:46px;top:55px;width: 48px;height:16px;z-index:12" align="left">
    <font style="font-size:13px" color="#000000" face="Arial">E-Mail</font></div>
    <input type="text" id="Editbox4" style="position:absolute;left:108px;top:99px;width :144px;font-family:Courier;font-size:19px;z-index:13" size="16" name="telephone1" value="">
    <div id="bv_Text6" style="position:absolute;left:35px;top:100px;width :66px;height:16px;z-index:14" align="left">
    <font style="font-size:13px" color="#000000" face="Arial">Telephone</font></div>
    <textarea name="comments" id="TextArea2" style="position:absolute;left:290px;top:31px;width :228px;height:107px;z-index:15" rows="5" cols="23"></textarea>
    <div id="bv_Text5" style="position:absolute;left:298px;top:8px;width: 74px;height:16px;z-index:16" align="left">
    <font style="font-size:13px" color="#000000" face="Arial">Comments</font></div>
    <input type="submit" id="Button2"" name="Button1" value="Submit" style="position:absolute;left:193px;top:145px;widt h:75px;height:24px;z-index:17">

    </form>



    And this is the code from my thankyou:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>action</title>
    <?PHP
    $mailto = "bwija@cytanet.com.cy";
    $email = $HTTP_POST_VARS['email'];
    if ($email == "") {
    $email = $mailto;
    }
    $mailsubj = "villa cleopatra info";
    $mailhead = "From: $email\n";
    reset ($HTTP_POST_VARS);
    $mailbody = "name1,email,telephone1,comments :\n";
    while (list ($key, $val) = each ($HTTP_POST_VARS))
    {
    if ($key!="submit")
    {
    $mailbody .= "$key : $val\n";
    }
    }
    mail($mailto, $mailsubj, $mailbody, $mailhead);
    ?>


    Hope this helps get problem sorted


    Regards

    Bernie

  4. #4
    tidustom is offline Sergeant
    Join Date
    Jul 2007
    Posts
    27

    Default Re: form email assistance

    Hi

    all ok now after reading another thread I changed my e-mail address and hey presto it works.

    Thanks all

    Bernie

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