contact

Fill All Fields..

“;
}
// Checking For Blank Fields..
else{
// Check if the “Sender’s Email” input field is filled out
$email=$_POST[’email’];
// Sanitize E-mail Address
$email =filter_var($email, FILTER_SANITIZE_EMAIL);
// Validate E-mail Address
$email= filter_var($email, FILTER_VALIDATE_EMAIL);
if (!$email){
echo “Invalid Sender’s Email”;
}

$mailBody=”Name:$name\nemail:$email\nMobile No.:$mobile\nSubject:$subject\nMessage:$message”;
mail($recipient, $subject, $mailBody, “From: $name <$email>” );
$thankyou=”

Thank You! Your message has been sent successfuly.

“;
}
}

?>






Loading
Your message has been sent. Thank you!