Commit 930ce6e3 authored by Alan Garcia's avatar Alan Garcia
Browse files

Ajout d'infos sur comment tester les autoconfig

parent c8ebae06
<?php
require_once("../class/config_nochk.php");
# Test it :
# wget http://FQDN/mailautoconfig_outlook.php -O - --post-data="test@example.tls" -q
// Created by Alesandro Slepcevic - alesandro@plus.hr
if ( $_SERVER['REQUEST_METHOD'] === 'POST' ){
$postText = file_get_contents('php://input');
......
......@@ -3,6 +3,9 @@ require_once("../class/config_nochk.php");
header ("Content-Type:text/xml");
# Test it :
# wget -O - -q http://FQDN/mailautoconfig_thunderbird.php?emailaddress=test@example.tld
if (empty($_GET['emailaddress'])) die(_("Error: Missing GET of emailaddress"));
$emailDomain = explode('@', rawurldecode($_GET['emailaddress']));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment