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"]; $email = $_GET["email"];
$lang = "da"; $lang = "da";
$to = "rama-testulovliglogning@malver.dk"; $to = "rasmus@ulovliglogning.dk";
$subject = "signup"; $subject = "signup";
$body = "email: ".$email."\nlang: ".$lang; $body = "email: ".$email."\nlang: ".$lang;
// Report all PHP errors // Report all PHP errors
error_reporting(E_ALL); error_reporting(E_ALL);
mail($to, $subject, $body); $a = mail($to, $subject, $body);
print_r($email); print_r($email);
print_r($a);
// if (mail($to, $subject, $body)) { // if (mail($to, $subject, $body)) {
// if ($lang == "da") { // if ($lang == "da") {