From 45c4b366deced17f2593a79d17ea856580fe7fea Mon Sep 17 00:00:00 2001 From: Rasmus Malver Date: Mon, 26 Apr 2021 16:52:39 +0200 Subject: [PATCH] =?UTF-8?q?Fors=C3=B8ger=20stadig=20at=20fixe=20mail?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mail.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mail.php b/mail.php index ec7736c..c8e8bf3 100644 --- a/mail.php +++ b/mail.php @@ -3,9 +3,12 @@ $email = $_GET["email"]; $lang = "da"; - $to = "ulovliglogning@protonmail.com"; + $to = "rama-testulovliglogning@malver.dk"; $subject = "signup"; $body = "email: ".$email."\nlang: ".$lang; + // Report all PHP errors + error_reporting(E_ALL); + if (mail($to, $subject, $body)) { if ($lang == "da") { $redirect = "https://ulovliglogning.dk/redirect/success/";