";
// Send the email
if (mail($to, $email_subject, $email_content, $headers)) {
echo "Thank you for contacting us, $first_name. We will get back to you shortly.";
} else {
echo "Oops! Something went wrong, and we couldn't send your message.";
}
} else {
echo "Invalid request.";
}
?>