diff --git a/dns.php b/dns.php index 7639047..89c74b2 100644 --- a/dns.php +++ b/dns.php @@ -26,6 +26,8 @@ $data = json_decode($json, true); function send_mail($subject, $text) { global $mg; global $mailgunDomain; + global $mailFrom; + global $mailTo; $mg->messages()->send($mailgunDomain, [ 'from' => $mailFrom, 'to' => $mailTo,