Forsøger stadig at fixe mail
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
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