Created
November 23, 2017 08:10
-
-
Save mushfiqur-rahman/00f83c8b255619d089779fc6dd179251 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$name = $_POST['name']; | |
$email = $_POST['email']; | |
$subject = $_POST['subject']; | |
$message = $_POST['message']; | |
$formcontent=" From: $name \n subject: $subject \n Message: $message"; | |
$recipient = "admin@softitbd.com"; | |
$subject = "Add Your Subject Here"; | |
$mailheader = "From: $email \r\n"; | |
mail($recipient, $subject, $formcontent, $mailheader) or die("Error!"); | |
header("location: thank-you.html") | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment