(.*?)<\/AcceptableResponseSchema>/', $post_body, $match); $AcceptableResponseSchema = $match[1]; if ($AcceptableResponseSchema == "http://schemas.microsoft.com/exchange/autodiscover/mobilesync/responseschema/2006") { // There is no way to convey the user's login name with this? ?> MobileSync https:// https:// (.*?)<\/EMailAddress>/', $post_body, $match); $LOGIN = $match[1]; header("Content-type: text/xml"); ?> https:// email settings IMAP 993 on SMTP 587 on DAV https:// on on WEB https:///mail on