alert('Please fill in all fields.');window.location.href='index.html';";
exit;
}
// Validate email format
if(!filter_var($email, FILTER_VALIDATE_EMAIL)) {
echo "";
exit;
}
// Construct email message
$to = 'arihant.softech@gmail.com'; // Receiver Email ID, Replace with your email ID
$subject = 'Form Submission';
$message = "Name: $name\nEmail: $email\nSubject: $subject\nMessage:\n\n$msg";
// Set email headers
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type:text/html;charset=UTF-8\r\n";
$headers .= "From: <$email>\r\n";
// Send email
if(mail($to, $subject, $message, $headers)){
echo "";
} else {
echo "";
}
}
?>
Address
B-228/229, Second Floor,
Pramukh Arcade-1, Reliance Cross Roads,
Kudasan, Gandhinagar, Gujarat, India.
Phone : +91 9825030600
Email : contact@arihantsoftech.com
arihant.softech@gmail.com
Website : www.arihantsoftech.com