forked from ulovliglogning/ulovliglogning.dk
Forsøger stadig at fixe mail
This commit is contained in:
parent
b136692356
commit
45c4b366de
5
mail.php
5
mail.php
|
@ -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/";
|
||||||
|
|
Loading…
Reference in a new issue