Forsøger stadig at fixe mail 3

This commit is contained in:
Rasmus Malver 2021-04-26 17:17:50 +02:00
parent 7e018ae0c6
commit 0ff93c942d

View file

@ -3,14 +3,15 @@
$email = $_GET["email"];
$lang = "da";
$to = "rama-testulovliglogning@malver.dk";
$to = "rasmus@ulovliglogning.dk";
$subject = "signup";
$body = "email: ".$email."\nlang: ".$lang;
// Report all PHP errors
error_reporting(E_ALL);
mail($to, $subject, $body);
$a = mail($to, $subject, $body);
print_r($email);
print_r($a);
// if (mail($to, $subject, $body)) {
// if ($lang == "da") {