File manager - Edit - /home/asiatechinc/public_html/asiatech-websites/indiavacationz.com/mail1.php
Back
<?php $name = $_POST["check_in"]; $phone = $_POST["check_out"]; $email = $_POST["room"]; $message = $_POST["guest"]; $EmailTo = "info@indiavacationz.com"; //$EmailTo = "najreen@asiatech.in"; $Subject = " Enquiry From Indiavacationz Houseboat"; // prepare email body text $Fields .= "<table border='2px' style='border-collapse:collapse; width:100%;'>"; $Fields .= "<tr>"; $Fields .= "<td style='padding:5px;'> Check In</td>"; $Fields .= "<td style='padding:5px;'>".$check_in."</td>"; $Fields .= "</tr>"; $Fields .= "<tr>"; $Fields .= "<td style='padding:5px;'>Check Out</td> "; $Fields .= "<td style='padding:5px;'>".$check_out."</td>"; $Fields .= "</tr>"; $Fields .= "<tr>"; $Fields.= "<td style='padding:5px;'>Rooms</td>"; $Fields .= "<td style='padding:5px;'>".$room."</td>"; $Fields .= "</tr>"; $Fields .= "<tr>"; $Fields .= "<td style='padding:5px;'>Guest</td>"; $Fields .= "<td style='padding:5px;'>".$guest."</td>"; $Fields .= "</tr>"; $Fields .= "</table>"; // // send email $headers = "MIME-Version: 1.0" . "\r\n"; $headers .= "Content-type:text/html;charset=UTF-8" . "\r\n"; $headers .= 'From: '.$email. "\r\n"; $success = mail($EmailTo, $Subject, $Fields, $headers); header("Location:thankyou.php"); echo " THIS IS A TEST "; ?>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings