%
if Request.Form("txtguestname") <> "" then
Dim objCDOMail
Dim milid
'***********Mail ID Selection depend on property ********************
if (Request.Form("PROP")="Hyderabad") then
milid="reserv.hyd@hotelgreenpark.com"
elseif (Request.Form("PROP")="Chennai") then
milid="reserv.chn@hotelgreenpark.com"
elseif (Request.Form("PROP")="Visakhapatnam") then
milid="reserv.vizag@hotelgreenpark.com"
End if
Set objCDOMail = Server.CreateObject("CDONTS.NewMail")
objCDOMail.From = Request.Form("txtEmail")
objCDOMail.To = milid
objCDOMail.Subject = "Reservation Detail Information"
objCDOMail.Body = "Atn : Reservations " & "," & "
" & _
"New Reservation made from Web site as follows :- " & "
" & _
"" & _
"
| " & "Guest Name :" & " | " & _ "" & Request.Form("txtGuestName") & " | " & _ "
| " & "Company :" & " | " & _ "" & Request.Form("txtCompany") & " | " & _ "
| " & "Designation :" & " | " & _ "" & Request.Form("txtdesignation") & " | " & _ "
| " & "Arrival :" & " | " & _ "" & Request.Form("txtarrival") & " | " & _ "
| " & "Flight No :" & " | " & _ "" & Request.Form("txtFlightNo") & " | " & _ "
| " & "Date of Arrival :" & " | " & _ "" & Request.Form("txtDateofArrival") & " | " & _ "
| " & "Arrival Time :" & " | " & _ "" & Request.Form("txtArrivalTime") & " | " & _ "
| " & "Date of Departure :" & " | " & _ "" & Request.Form("txtdateofdeparture") & " | " & _ "
| " & "Departure Time :" & " | " & _ "" & Request.Form("txtdeparturetime") & " | " & _ "
| " & "Billing Instruction :" & " | " & _ "" & Request.Form("optbilling") & " | " & _ "
| " & "Requested By :" & " | " & _ "" & Request.Form("txtrequested") & " | " & _ "
| " & "Phone :" & " | " & _ "" & Request.Form("txtphone") & " | " & _ "
| " & "Company :" & " | " & _ "" & Request.Form("txtcompany2") & " | " & _ "
| " & "Special Instruction :" & " | " & _ "" & Request.Form("txtspecial") & " | " & _ "
| " & "Guest Name :" & " | " & _ ' "" & Request.Form("txtGuestName") & " | " & _ ' "
| " & "Company :" & " | " & _ ' "" & Request.Form("txtCompany") & " | " & _ '' "
| " & "Designation :" & " | " & _ ' "" & Request.Form("txtdesignation") & " | " & _ ' "
| " & "Arrival :" & " | " & _ ' "" & Request.Form("txtarrival") & " | " & _ ' "
| " & "Flight No :" & " | " & _ ' "" & Request.Form("txtFlightNo") & " | " & _ ' "
| " & "Date of Arrival :" & " | " & _ '' "" & Request.Form("txtDateofArrival") & " | " & _ ' "
| " & "Arrival Time :" & " | " & _ ' "" & Request.Form("txtArrivalTime") & " | " & _ ' "
| " & "Date of Departure :" & " | " & _ ' "" & Request.Form("txtdateofdeparture") & " | " & _ ' "
| " & "Departure Time :" & " | " & _ ' "" & Request.Form("txtdeparturetime") & " | " & _ '' "
| " & "Billing Instruction :" & " | " & _ '' "" & Request.Form("optbilling") & " | " & _ ' "
| " & "Requested By :" & " | " & _ ' "" & Request.Form("txtrequested") & " | " & _ ' "
| " & "Phone :" & " | " & _ ' "" & Request.Form("txtphone") & " | " & _ ' "
| " & "Company :" & " | " & _ ' "" & Request.Form("txtcompany2") & " | " & _ ' "
| " & "Special Instruction :" & " | " & _ ' "" & Request.Form("txtspecial") & " | " & _ ' "
![]() |
|
|
||||||||||||||||||||||||||||||||||||||
| © 2004 Hotel Green Park - All Rights Reserved | |
| Hyderabad | Vishakhapatnam | Chennai | |