This commit is contained in:
Paul Wilde 2021-08-11 10:53:50 +01:00
parent f5bbf49fd1
commit 8a2fb1f269

View file

@ -2,7 +2,7 @@
$conf = Core::$Config["Services"];
//get raw POST data so we can extract the email address
$data = file_get_contents("php://input");
file_put_contents(Core::root_dir()."/xmltest");
file_put_contents(Core::root_dir()."/xmltest", $data);
preg_match("/\<EMailAddress\>(.*?)\<\/EMailAddress\>/", $data, $matches);
echo '<?xml version="1.0" encoding="utf-8" ?>'; ?>
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">