Forsøger stadig at fixe mail
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Rasmus Malver 2021-04-26 16:52:39 +02:00
parent b136692356
commit 45c4b366de

View file

@ -3,9 +3,12 @@
$email = $_GET["email"]; $email = $_GET["email"];
$lang = "da"; $lang = "da";
$to = "ulovliglogning@protonmail.com"; $to = "rama-testulovliglogning@malver.dk";
$subject = "signup"; $subject = "signup";
$body = "email: ".$email."\nlang: ".$lang; $body = "email: ".$email."\nlang: ".$lang;
// Report all PHP errors
error_reporting(E_ALL);
if (mail($to, $subject, $body)) { if (mail($to, $subject, $body)) {
if ($lang == "da") { if ($lang == "da") {
$redirect = "https://ulovliglogning.dk/redirect/success/"; $redirect = "https://ulovliglogning.dk/redirect/success/";