diff --git a/sendEmail.php b/sendEmail.php index 7345950..390f892 100644 --- a/sendEmail.php +++ b/sendEmail.php @@ -3,7 +3,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { // Validate and sanitize inputs $name = htmlspecialchars(trim($_POST['name'])); $email = filter_var(trim($_POST['email']), FILTER_SANITIZE_EMAIL); - $subject = htmlspecialchars(trim($_POST['subject'])); $message = htmlspecialchars(trim($_POST['message'])); // Check if the email is valid