Forsøger stadig at fixe mail 3
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
7e018ae0c6
commit
0ff93c942d
5
mail.php
5
mail.php
|
@ -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") {
|
||||||
|
|
Loading…
Reference in a new issue