diff --git a/mail.php b/mail.php index ec7736cb..c8e8bf3c 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/";