mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
updating mailscript
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
$headers = "From: " . $from . "\r\n";
|
$headers = "From: " . $from . "\r\n";
|
||||||
|
|
||||||
if(filter_var($from, FILTER_VALIDATE_EMAIL) && $message != ""){
|
if(filter_var($from, FILTER_VALIDATE_EMAIL) && $message != ""){
|
||||||
$result = mail("contact@zoff.me", "ZOFF: Contact from form", $message, $headers);
|
$result = mail("contact@zoff.no", "ZOFF: Contact from form", $message, $headers);
|
||||||
|
|
||||||
if($result == FALSE){
|
if($result == FALSE){
|
||||||
echo "failure";
|
echo "failure";
|
||||||
|
|||||||
Reference in New Issue
Block a user