updated FormSpree.io settings

This commit is contained in:
developtheweb 2021-02-19 13:56:22 -05:00
parent 396a6b6a20
commit 9cc8494859
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@ $message = $_POST['message'];
if (empty($_POST['_gotcha'])) { // If hidden field was filled out (by spambots) don't send!
// Create the email and send the message
$to = 'contact@stevenmilanese.com'; // Add your email address inbetween the '' replacing yourname@yourdomain.com - This is where the form will send a message to.
$to = 'developtheweb@protonmail.com'; // Add your email address inbetween the '' replacing yourname@yourdomain.com - This is where the form will send a message to.
$email_subject = "Website Contact Form: $name";
$email_body = "You have received a new message from your website contact form.\n\n"."Here are the details:\n\nName: $name\n\nEmail: $email_address\n\nPhone: $phone\n\nMessage:\n$message";
$headers = "From: noreply@stevenmilanese.com\n"; // This is the email address the generated message will be from. We recommend using something like noreply@yourdomain.com.