From a280bb67b79c63e6f23d837b5645985d67d5e4f7 Mon Sep 17 00:00:00 2001 From: Marcel Haazen Date: Sun, 24 Jun 2018 18:53:38 +0200 Subject: [PATCH] Removed old PHP mailer --- contactengine.php | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 contactengine.php diff --git a/contactengine.php b/contactengine.php deleted file mode 100644 index 274af7b..0000000 --- a/contactengine.php +++ /dev/null @@ -1,37 +0,0 @@ -"; - exit; -} - -// prepare email body text -$Body = ""; -$Body .= "Name: "; -$Body .= $Name; -$Body .= "\n"; -$Body .= "Email: "; -$Body .= $Email; -$Body .= "\n"; -$Body .= "Message: "; -$Body .= $Message; -$Body .= "\n"; - -// send email -$success = mail($EmailTo, $Subject, $Body, "From: <$Email>"); - -// redirect to success page -if ($success){ - print ""; -} -else{ - print "error"; -} -?> \ No newline at end of file