IsMail();
$mail->IsSMTP(); // telling the class to use SMTP
// $mail->Host = "192.168.1.252"; // SMTP server Offline
$mail->From =$email;
$mail->FromName =$email;
$mail->AddAddress($userEmail);
// $mail->To=$userEmail;
$mail->Subject ="Enquiry Details For Regent Consultants";
$mail->Body =$Body;
$mail->WordWrap = 100;
$mail->IsHTML(true);
if(!$mail->Send())
{
echo "
Message was not sent";
echo "
Mailer Error: " . $mail->ErrorInfo;
}
else
{
echo "
| Dear Administrator A query has been submitted on regent-consultant.com regarding Enquiry Details. Kindly check the details given below: | |
Enquiry Details | |
| Name | ".$name." |
| Phone No. | ".$phone." |
| E-mail ID | ".$email." |
| You Wish to | ".$wish." |
| Property Category | ".$propertyCategory." |
| City | ".$city." |
| Specific Requirements | ".$specificRequirements." |
| Type of Property | ".$typeofProperty." --- ".$typeofPropertySub." |
| Sub Type of Property | ".$subTypeofProperty." |
| Area | From ".$areaFrom." ".$frommeasure." To ".$areaTo." ".$tomeasure." |
| Price/Rent | From ".$fromPrice." ".$fromcurrency." To ".$toPrice." ".$tocurrency." |
| Bedrooms | ".$bedrooms." |
| Special Instructions | ".$specialInstructions." |
![]() |
|
||||||||||
![]() |
|
||||||||||
| © 2005 Regent Consultants. All rights reserved. All Information Copyright www.regentconultants.in and its Concern. |
|