Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Dec 2005
    Posts
    702
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Problem with webform: email confirm that comes....

    Problem with webform: email confirm that comes....I built a form at
    http://www.polis-realestate.eu/rentalrequest.htm
    and
    http://www.polis-realestate.eu/contact.htm
    but after submit, confirm page appear ok but email come(configured. message be the same as confirm page) is different... includes two footers(although the footer included in the main template of confirm page) and in textarea appears the text below(like to contain this area the confirm page's html): (see attachment)
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/HP-template-4table.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <script language="JavaScript" type="text/javascript"><!--
    	var months = new Array("Jan", "Feb", "Mar","Apr", "May", "Jun", "Jul","Aug", "Sep", "Oct","Nov", "Dec")
    	var weekdays = new Array("Sunday", "Monday", "Tuesday","Wednesday", "Thursday","Friday", "Saturday")
    
    	var today = new Date()
    //-->
    </script>
    
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Polis-RealEstate.eu Real Estate Agents</title>
    <base href="http://www.Polis-RealEstate.eu" />
    <!-- InstanceEndEditable -->
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <!-- InstanceBeginEditable name="head" -->
    <style type="text/css">
    <!--
    .style1 {	color: #FF0000;
    	font-weight: bold;
    }
    -->
    </style>
    <!-- InstanceEndEditable -->
    <link href="styles/css.css" rel="stylesheet" type="text/css" />
    </head>
    
    <body>
    <table width="750" border="0" align="center" cellpadding="4" cellspacing="3">
      <tr>
        <td align="center" valign="top">
          <div align="center">
              <script language="JavaScript" type="text/javascript"><!--
    	// Today is Weekday, Month Day, Year  
    	document.write(weekdays[today.getDay()], ", ",months[today.getMonth()], " ",today.getDate(), ", ",today.getFullYear()) 	
    //-->
            </script>
          </div></td>
        <td width="583" rowspan="2"><img src="images/gif/banner1png100-400.gif" width="600" height="65" /></td>
      </tr>
      <tr>
        <td align="center" valign="top"> </td>
      </tr>
      <tr>
        <td align="center" valign="top"><div align="center"></div></td>
        <td><img src="images/banner-text1.jpg" width="600" height="60" /></td>
      </tr>
      <tr>
        <td align="center" valign="top"><table width="100%"  border="0" align="center" cellpadding="2" cellspacing="2">
          <tr>
            <th scope="col"><table width="186" height="198" border="2" align="center" cellpadding="2" cellspacing="2" bordercolor="#009900">
              <tr>
                <td width="167" height="190" background="images/e2.jpg"><form name="form1" id="form1" method="post" action="">
                    <table width="133" border="0" align="center" cellpadding="1" cellspacing="1">
                      <tr>
                        <td width="40" align="left" valign="middle"><div align="center"><strong><span style="background-color: #FFFFFF">Rent</span></strong></div></td>
                        <td width="20" align="left" valign="middle"><div align="center">
                            <input name="radiobutton" type="radio" value="radiobutton" />
                        </div></td>
                        <td width="38" align="left" valign="middle"><div align="center"><strong><span style="background-color: #FFFFFF">Buy</span></strong></div></td>
                        <td width="22" align="left" valign="middle"><div align="center">
                            <input name="radiobutton" type="radio" value="radiobutton" />
                        </div></td>
                      </tr>
                      <tr>
                        <td colspan="4" align="left" valign="middle">
                          <select name="select3" id="select17" class="form_search_combobox" style="width:90px; font-size:11px">
                            <option value="any" selected="selected">Type</option>
                            <option value="any">any</option>
                            <option value="villa">Villa</option>
                            <option value="apt">Apartment</option>
                            <option value="land">Land</option>
                            <option value="townhouse">Maisonette</option>
                          </select>
                        </td>
                      </tr>
                      <tr>
                        <td colspan="4" align="left" valign="middle"><select name="select" id="select22" class="form_search_combobox" style="width:100px; font-size:11px">
                            <option value="any" selected="selected">Area</option>
                            <option value="any">any</option>
                            <option value="polis">Polis Area</option>
                            <option value="polisinland">Polis Inland Villages</option>
                            <option value="paphosinland">Paphos Inland Villages</option>
                            <option value="coral">Coral Bay Area</option>
                        </select></td>
                      </tr>
                      <tr>
                        <td height="23" colspan="4" align="left" valign="middle">
                          <select name="select3" id="select19" class="form_search_combobox" style="width:127px; font-size:11px">
                            <option value="25000" selected="selected">Min price(wk) Euro</option>
                            <option value="25000">any</option>
                            <option value="25000">25000</option>
                            <option value="50000">50000</option>
                            <option value="75000">75000</option>
                            <option value="100000">100000</option>
                            <option value="125000">125000</option>
                            <option value="150000">150000</option>
                            <option value="175000">175000</option>
                            <option value="200000">200000</option>
                            <option value="225000">225000</option>
                            <option value="250000">250000</option>
                            <option value="275000">275000</option>
                            <option value="300000">300000</option>
                            <option value="325000">325000</option>
                            <option value="350000">350000</option>
                            <option value="375000">375000</option>
                            <option value="400000">400000</option>
                            <option value="425000">425000</option>
                            <option value="450000">450000</option>
                            <option value="475000">475000</option>
                            <option value="500000">500000</option>
                            <option value="550000">550000</option>
                            <option value="600000">600000</option>
                            <option value="650000">650000</option>
                            <option value="700000">700000</option>
                            <option value="750000">750000</option>
                            <option value="800000">800000</option>
                            <option value="850000">850000</option>
                            <option value="900000">900000</option>
                            <option value="950000">950000</option>
                            <option value="1000000">1000000</option>
                            <option value="1100000">1100000</option>
                            <option value="1200000">1200000</option>
                            <option value="1300000">1300000</option>
                            <option value="1400000">1400000</option>
                            <option value="1500000">1500000</option>
                            <option value="1600000">1600000</option>
                            <option value="1700000">1700000</option>
                            <option value="1800000">1800000</option>
                            <option value="1900000">1900000</option>
                            <option value="2000000">2000000</option>
                            <option value="2000000">2000000</option>
                            <option value="3000000">3000000</option>
                            <option value="4000000">4000000</option>
                            <option value="5000000">5000000</option>
                        </select></td>
                      </tr>
                      <tr>
                        <td colspan="4" align="left" valign="middle">
                          <select name="select2" id="select23" class="form_search_combobox" style="width:127px; font-size:11px">
                            <option value="5000000" selected="selected">Max price(wk) Euro</option>
                            <option value="5000000">any</option>
                            <option value="25000">25000</option>
                            <option value="50000">50000</option>
                            <option value="75000">75000</option>
                            <option value="100000">100000</option>
                            <option value="125000">125000</option>
                            <option value="150000">150000</option>
                            <option value="175000">175000</option>
                            <option value="200000">200000</option>
                            <option value="225000">225000</option>
                            <option value="250000">250000</option>
                            <option value="275000">275000</option>
                            <option value="300000">300000</option>
                            <option value="325000">325000</option>
                            <option value="350000">350000</option>
                            <option value="375000">375000</option>
                            <option value="400000">400000</option>
                            <option value="425000">425000</option>
                            <option value="450000">450000</option>
                            <option value="475000">475000</option>
                            <option value="500000">500000</option>
                            <option value="550000">550000</option>
                            <option value="600000">600000</option>
                            <option value="650000">650000</option>
                            <option value="700000">700000</option>
                            <option value="750000">750000</option>
                            <option value="800000">800000</option>
                            <option value="850000">850000</option>
                            <option value="900000">900000</option>
                            <option value="950000">950000</option>
                            <option value="1000000">1000000</option>
                            <option value="1100000">1100000</option>
                            <option value="1200000">1200000</option>
                            <option value="1300000">1300000</option>
                            <option value="1400000">1400000</option>
                            <option value="1500000">1500000</option>
                            <option value="1600000">1600000</option>
                            <option value="1700000">1700000</option>
                            <option value="1800000">1800000</option>
                            <option value="1900000">1900000</option>
                            <option value="2000000">2000000</option>
                            <option value="2000000">2000000</option>
                            <option value="3000000">3000000</option>
                            <option value="4000000">4000000</option>
                            <option value="5000000">5000000</option>
                          </select>
                        </td>
                      </tr>
                      <tr>
                        <td colspan="4" align="left" valign="middle"><span class="form_search_data">
                          <select name="select3" id="select21" class="form_search_combobox" style="width:80px; font-size:11px">
                            <option value="Bedrooms" selected="selected">Bedrooms</option>
                            <option value="any">any</option>
                            <option value="0">Studio</option>
                            <option value="1">1</option>
                            <option value="2">2</option>
                            <option value="3">3</option>
                            <option value="4">4</option>
                            <option value="5">5</option>
                          </select>
                        </span></td>
                      </tr>
                      <tr>
                        <td colspan="4"><div align="center">
                            <label>
                            <input type="submit" name="Submit4" value="Search Now !" />
                            </label>
                        </div></td>
                      </tr>
                    </table>
                </form></td>
              </tr>
            </table></th>
          </tr>
          <tr>
            <td><table width="186" border="2" cellpadding="2" cellspacing="2" bordercolor="#009900">
              <tr>
                <th width="172" bgcolor="#2B802B">Menu</th>
              </tr>
              <tr>
                <td bgcolor="#3C4C80"><div align="center"><a href="index.htm" class="yellowlink">Home</a></div></td>
              </tr>
              <tr>
                <td bgcolor="#3C4C80"><div align="center""><a href="index.htm" class="yellowlink><strong>Home</strong></a></div></td>
          </tr>
          <tr>
            <td bgcolor="#3C4C80">
                    <div align="center" class="yellowlink">About Us</div>
                </a></div></td>
              </tr>
              <tr>
                <td bgcolor="#3C4C80"><div align="center"><a href="contact.htm" class="yellowlink">Contact
                      Us</a></div></td>
              </tr>
              <tr>
                <td bgcolor="#3C4C80"><div align="center"><a href="terms.htm" class="yellowlink">Terms</a></div></td>
              </tr>
              <tr>
                <td bgcolor="#3C4C80"><div align="center" class="yellowlink">Villas
                    for Sale</div></td>
              </tr>
              <tr>
                <td bgcolor="#3C4C80"><div align="center" class="yellowlink">Villas
                    for Rent</div></td>
              </tr>
              <tr>
                <td bgcolor="#3C4C80"><div align="center" class="yellowlink">Apartments/TownHouses</div></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td><table width="186" border="2" align="center" cellpadding="2" cellspacing="2" bordercolor="#009900">
              <tr>
                <th width="173" bgcolor="#2B802B" scope="col">Tools</th>
              </tr>
              <tr>
                <td bgcolor="#3C4C80">
                  <div align="center"><a href="http://www.worldlingo.com/en/websites/url_translator.html" class="yellowlink">Web-page
                      Translator </a> </div></td>
              </tr>
              <tr>
                <td bgcolor="#3C4C80">
                  <div align="center"><a href="http://weather.yahoo.com/regional/CYXX.html" class="yellowlink">Weather
                      in Cyprus </a> </div></td>
              </tr>
              <tr>
                <td bgcolor="#3C4C80">
                  <div align="center"><a href="http://www.oanda.com/convert/classic?lang=en&margin_fixed=0&exch=CYP_GBP&date_fmt=normal&pref_list=USD_GBP_CYP_EUR&menu_rows=7&expr=EUR_USD&table_width=530" class="yellowlink">Currency
                      Converter </a> </div></td>
              </tr>
              <tr>
                <td bgcolor="#3C4C80">
                  <div align="center"><a href="#" class="yellowlink">Mortage Calculator </a> </div></td>
              </tr>
              <tr>
                <td bgcolor="#3C4C80">
                  <div align="center"><a href="#" class="yellowlink">Tax Calculator </a> </div></td>
              </tr>
              <tr>
                <td bgcolor="#3C4C80">
                  <div align="center"><a href="http://www.onlineconversion.com/area.htm" class="yellowlink">Metric
                      Conversion </a> </div></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td> </td>
          </tr>
        </table></td>
        <td valign="top"><!-- InstanceBeginEditable name="maincontent" -->
          <table width="100%"  border="0" cellspacing="0" cellpadding="2">
            <tr>
              <td scope="col"><p align="center"> <img src="images/gif/buttons/confirm-contact.gif" alt="confirmation - Contact Us" width="278" height="21" /></p>
                <table width="500" border="0" align="center" cellpadding="2" cellspacing="4">
                  <tr>
                    <th height="23" colspan="2" scope="col"><span class="formfields">You have successfully
                        submit the data below(expect to get an answer in 2 days the
                    max): </span> </th>
                  </tr>
                  <tr>
                    <td width="183"> </td>
                    <td width="297"> </td>
                  </tr>
                  <tr class="formfields">
                    <td>Contact you? <span class="style1"></span></td>
                    <td><span class="formfields">
                    E-mail me</span></td>
                  </tr>
                  <tr class="formfields">
                    <td>Title</td>
                    <td><span class="formfields">
                      cvmv                </span></td>
                  </tr>
                  <tr class="formfields">
                    <td>Name:</td>
                    <td><span class="formfields">
                      Leonidas Savvides                </span></td>
                  </tr>
                  <tr class="formfields">
                    <td>E-mail Address <span class="style1"></span></td>
                    <td><span class="formfields">
                      a080725@cytanet.com.cy                </span></td>
                  </tr>
                  <tr class="formfields">
                    <td>Phone No. (Day) </td>
                    <td><span class="formfields">
                      99 300548                </span></td>
                  </tr>
                  <tr class="formfields">
                    <td> Phone No. (Evening) </td>
                    <td><span class="formfields">
                      99 300548                </span></td>
                  </tr>
                  <tr class="formfields">
                    <td>Country</td>
                    <td><span class="formfields">
                      Cyprus                </span></td>
                  </tr>
                  <tr class="formfields">
                    <td>Message</td>
                    <td><textarea name="comments" cols="40" rows="3" disabled="disabled" class="formfields" id="comments">gjhvvmn
    Attached Thumbnails Attached Thumbnails Problem with webform: email confirm that comes....-footer-confirm-email-reduced.gif  

  • #2
    Regular Coder
    Join Date
    Dec 2005
    Posts
    702
    Thanks
    0
    Thanked 0 Times in 0 Posts
    message(email) delivers to fixed email and to webuser email but the only problem above is with email come to webuser the email to fixed email address is ok ?

    see processor script:
    Code:
    <?php 
    // session_start(); // start up your PHP session! 
    /* recipients */
    $to = "lse@world-marketinghome.com"; 
    //$to = "info@Polis-RealEstate.eu"; 
    // $to = "info@polis-index.com.cy"; 
    $subject = "Booking Request for www.Polis-RealEstate.eu"; 
    $property = $_POST['property'];
    $radiobutton = $_POST['radiobutton'];
    $title = $_POST['title'];
    $name = $_POST['name'];
    $email = $_POST['email'];
    $phone_day = $_POST['phone_day'];
    $phone_evening = $_POST['phone_evening'];
    $country = $_POST['country'];
    $message = $_POST['message'];
    // -------------------------------------
    $day = $_POST['day'];
    $month = $_POST['month'];
    $year = $_POST['year'];
    $today = $_POST['today'];
    $tomonth = $_POST['tomonth'];
    $toyear = $_POST['toyear'];
    
    		$tsp = mktime(0, 0, 0, $month, $day, $year);
    		$tsd = mktime(0, 0, 0, $tomonth, $today, $toyear);
    		$xdays = ($tsd - $tsp)/(24*60*60);
    		$datep = date("l F dS, Y", $tsp);
    		$dated = date("l F dS, Y", $tsd);     // check this  H:i 
    
    // --------------------------------------
    include_once ("rentalrequestconfirm.php"); 
    
    ob_start();
    include('rentalrequestconfirm.php');
    $message = ob_get_clean();
    
    ob_start();
    include('rentalrequestconfirm.php');
    $message_customer = ob_get_clean();
    
    $headers = "From:info@Polis-RealEstate.eu";                     
    // $headers .= "\nBcc:info@Polis-RealEstate.eu"
    $headers .= "\nReply-To:info@Polis-RealEstate.eu"; 
    $headers .= "\nContent-Type: text/html; charset=UTF-8";
    $headers .= "\nMIME-Version: 1.0";  
    
    mail($email,$subject,$message_customer,$headers); 
    
    mail($to,$subject,$message,$headers); 
    
    ?>

  • #3
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,852
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    // --------------------------------------
    include_once ("rentalrequestconfirm.php");

    ob_start();
    include('rentalrequestconfirm.php');
    $message = ob_get_clean();

    ob_start();
    include('rentalrequestconfirm.php');
    $message_customer = ob_get_clean();

    $headers = "From:info@Polis-RealEstate.eu";
    Aren't they same?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #4
    Regular Coder
    Join Date
    Dec 2005
    Posts
    702
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Why the email of form data to me the recipient is ok but the email [confirm] to webuser has problem ? you may try form at : http://www.polis-realestate.eu/contact.htm ?
    Put your email address and you will get confirm email with errors .....

    ob_start();
    include('rentalrequestconfirm.php');
    $message_customer = ob_get_clean();


  •  

    Posting Permissions

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