Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Saturday, September 8, 2012 6:24 AM
Couldnt find anything online so I thought I'd post this in the hope it is of use to someone
Not perfected yet but works well
1) create a DNS entry A record in the domain of the email address - Name:
Autodiscover IP: of-a-web-server
2) On the webserver create a website
autodiscover.your-domain.xx and apply an SSL certificate matching this
name
3) If using IIS create a script map so that *.xml is handled by
%windir%\system32\inetsrv\asp.dll and allow POST and GET verbs
4) In the
website root create a subfolder called autodiscover
5) Create a file in
thecalled autodiscover.xml and paste in this code
6) remove the pop or imap
section from the list depending what you want users to use (or move one above
the other for priority)
<?xml version="1.0" encoding="utf-8"
?>
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
<Response
xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a">
<Account>
<AccountType>email</AccountType>
<Action>settings</Action>
<Protocol>
<Type>IMAP</Type>
<Server>imap.gmail.com</Server>
<Port>993</Port>
<DomainRequired>on</DomainRequired>
<SPA>off</SPA>
<SSL>on</SSL>
<AuthRequired>on</AuthRequired>
</Protocol>
<Protocol>
<Type>POP3</Type>
<Server>pop.gmail.com</Server>
<Port>995</Port>
<DomainRequired>on</DomainRequired>
<SPA>off</SPA>
<SSL>on</SSL>
<AuthRequired>on</AuthRequired>
</Protocol>
<Protocol>
<Type>SMTP</Type>
<Server>smtp.gmail.com</Server>
<Port>465</Port>
<DomainRequired>on</DomainRequired>
<SPA>off</SPA>
<SSL>on</SSL>
<AuthRequired>on</AuthRequired>
<UsePOPAuth>on</UsePOPAuth>
<SMTPLast>off</SMTPLast>
</Protocol>
</Account>
</Response>
</Autodiscover>
My
final hurdle is to grab the email address posted by outlook and put it in a
<LoginName> tag as currently it uses the initial part of the email for the
username prior to the domain. At the moment I have been try Request.Form and Request.Querystring but cant see the variable it is posting
Thanks
Robbie Wallis
Boston College UK