From 0a5015eec26eeebb205e860c64b5472f1f16ab41 Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Mon, 24 May 2021 16:43:48 -0500 Subject: Initial commit. Still missing pages/content. --- assets/php/contact-form.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 assets/php/contact-form.php (limited to 'assets/php') diff --git a/assets/php/contact-form.php b/assets/php/contact-form.php new file mode 100644 index 0000000..f3bdfcb --- /dev/null +++ b/assets/php/contact-form.php @@ -0,0 +1,16 @@ + E-Mail: $email
Message:
$message"; + + $headers = 'MIME-Version: 1.0' . "\r\n"; + $headers .= 'Content-type: text/html; charset=utf-8' . "\r\n"; + $headers .= 'From:' . $email. "\r\n"; + $headers .= 'Cc:' . $email. "\r\n"; + + mail($to, "New Message from Website: $subject", $body, $headers); +?> \ No newline at end of file -- cgit v1.2.3-70-g09d2