\r\n"; $headers .= "Reply-To: $email\r\n"; $headers .= "Content-type: text/plain; charset=utf-8\r\n"; // Send the email $mail = mail($to, $subject, $message, $headers); // Check if the email is sent successfully if ($mail) { // Redirect to the same page with a success message header("Location: contact.php?success=Your message has been sent."); } else { // Redirect to the same page with an error message header("Location: contact.php?error=Something went wrong. Please try again."); } } else { // Redirect to the same page with an error message header("Location: contact.php?error=Please fill in all the fields."); } } ?> T&D - Cleaning Services
07765635013, 0161 6691029
info@tanddcleaningservices.com

If You Have Any Query, Please Contact Us

" . $_GET['success'] . "

"; } elseif (isset($_GET['error'])) { echo "

" . $_GET['error'] . "

"; } ?>