Signed in as:
filler@godaddy.com
Signed in as:
filler@godaddy.com
<?php
if ($_SERVER["REQUEST_METHOD"] == "POST") {
$firstName = $_POST["firstName"];
$lastName = $_POST["lastName"];
$email = $_POST["email"];
$contactNumber = $_POST["contactNumber"];
$pickupAddress = $_POST["pickupAddress"];
$dropoffAddress = $_POST["dropoffAddress"];
$transportMode = $_POST["transportMode"];
$additionalPassengers = $_POST["additionalPassengers"];
$serviceDateTime = $_POST["serviceDateTime"];
$precautions = $_POST["precautions"];
$message = $_POST["message"];
$to = " https://oasistransportllc.com/blank "; // Corrected email address
$subject = "New Quote Request";
$body = "New quote request submitted:\n\n";
$body .= "First Name: $firstName\n";
$body .= "Last Name: $lastName\n";
$body .= "Email: $email\n";
$body .= "Contact Number: $contactNumber\n";
$body .= "Pick-up Address: $pickupAddress\n";
$body .= "Drop-off Address: $dropoffAddress\n";
$body .= "Mode of Transport: $transportMode\n";
$body .= "Additional Passengers: $additionalPassengers\n";
$body .= "Date and Time of Service: $serviceDateTime\n";
$body .= "Precautions: $precautions\n";
$body .= "Message: $message\n";
$headers = "From: $email";
if (echo "To: $to\nSubject: $subject\n\n$body";
echo "Thank you for your request! We will be in touch soon.";
} else {
echo "Oops! Something went wrong. Please try again later.";
}
}
?>
Powered by GoDaddy