% @Language="VBScript" %> <% ErrorMessage = "" ' Check to see if we are displaying the form or processing it If Request("SubmitButton") <> "" Then ProcessRequest() End If %>
|
|
|
|
| Company | Capabilities | For Sale / Exchange | Certification | Customers | Request Info | Contact Us | Copyright (2005) Condor Aircraft Accessories (1996) Inc. website by CanadaWeb Inc. |
" & vbNewLine & vbNewLine If Request("Category") <> "" Then Body = Body & "Category: " & Request("Category") & "
" & vbNewLine End If If Request("Name") <> "" Then Body = Body & "Name: " & Request("Name") & "
" & vbNewLine End If If Request("Title") <> "" Then Body = Body & "Title: " & Request("Title") & "
" & vbNewLine End If If Request("Company") <> "" Then Body = Body & "Company: " & Request("Company") & "
" & vbNewLine End If If Request("Address") <> "" Then Body = Body & "Address: " & Request("Address") & "
" & vbNewLine End If If Request("City") <> "" Then Body = Body & "City: " & Request("City") & "
" & vbNewLine End If If Request("Province") <> "" Then Body = Body & "Province/State: " & Request("Province") & "
" & vbNewLine End If If Request("PostalCode") <> "" Then Body = Body & "Postal/Zip Code: " & Request("PostalCode") & "
" & vbNewLine End If If Request("Country") <> "" Then Body = Body & "Country: " & Request("Country") & "
" & vbNewLine End If If Request("Telephone") <> "" Then Body = Body & "Telephone: " & Request("Telephone") & "
" & vbNewLine End If If Request("Fax") <> "" Then Body = Body & "Fax: " & Request("Fax") & "
" & vbNewLine End If If Request("EMail") <> "" Then Body = Body & "EMail: " & Request("EMail") & "
" & vbNewLine End If If Request("Address1") <> "" Then Body = Body & "Address 1: " & Request("Address1") & "
" & vbNewLine
End If
If Request("Comments") <> "" Then
Body = Body & "Comments:
" & vbNewLine & Request("Comments") & "
" & vbNewLine End If ' Send the e-mail Set oMail = Server.CreateObject("CDONTS.NewMail") oMail.To = "info@condorac.com" oMail.From = "viki@condorac.com" oMail.Subject = "Condor Web Site: Information Request Submission" oMail.BodyFormat = 0 oMail.MailFormat = 0 oMail.Body = Body oMail.Send Set oMail = Nothing ' Redirect user to success message Response.Redirect("ReqInfoCompleted.html") End Sub %>