' . "\r\n"; $message.='
| Name | '.$_POST['Name'].' |
| Address | '.$_POST['Address'].' |
| City | '.$_POST['City'].' |
| Country | '.$_POST['Country'].' |
| Phone No | '.$_POST['Phone_No'].' |
| '.$_POST['Email'].' | |
| Product 1 | '.$_POST['Product_1'].' |
| Product 2 | '.$_POST['Product_2'].' |
| Product 3 | '.$_POST['Product_3'].' |
| Product 4 | '.$_POST['Product_4'].' |
| Product 5 | '.$_POST['Product_5'].' |
| Comments | '.$_POST['Comments'].' |
'; $mail = new PHPMailer(); $mail->IsSMTP(); // send via SMTP $mail->Host = "mail.milliardinfoworld.com"; // SMTP servers $mail->SMTPAuth = true; // turn on SMTP authentication $mail->Username = "mail@milliardinfoworld.com"; // SMTP username //$mail->Username = "mail@ambikashish.com"; // SMTP username $mail->Password = "123456"; // SMTP password $mail->From = $Email; $mail->FromName = $Name; //$mail->AddAddress("info@ambikashish.com"); $mail->AddAddress("kavita.developer@gmail.com"); $mail->WordWrap = 50; // set word wrap $mail->IsHTML(true); // send as HTML $mail->Subject = "Inquiry from Visitor"; $mail->Body = $message;; if(!$mail->Send()) { $message.= "Message was not sent
"; exit($message); exit; } header("Location: thankyou.html"); } } else { $message= "Please insert the alphabets exactly same as shown"; } ?>
|
|||||||||||||
| Home :: About Us :: Fast Food :: Snacks :: Namkeens :: Enquiry | |
| (C) 2005 Tipsy-Topsy. All rights reserved. | info@tipsy-topsy.com |
|
Powered by : Shri Ganesh Infotech |
|