I am trying to set up a local autodiscover xml for the users in my company.
Our email is not on our own exchange server, rather it is hosted by a service provider.
What I am trying to do is setting a local autodiscover xml file to which I refer to with the registry key under [HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\O utlook\AutoDiscover]
So far I have been successful in getting Outlook to look for the file and find it. Outlook then uses the file to set up the account, but there are a few settings which I can't seam to manage implementing correctly.
Firstly: As our email is hosted by a service provider, the login name is in the format <username>@<domain>.
However, in the xml file I can't find a way to have this inserted dynamically.
If I don't enter the <loginname> option it only uses the username part before the @ without the domain name. This happens even if I turn on the <domainrequired> option.
If I do enter the <loginname> option, I can only enter one specific <username> and <domain> in that file.
But what I am trying to achieve is setting up a domain-wide xml file and getting Outlook to recognize that the server demands the <domain> after the <username> of the person who is currently trying to set up his account.
i.e. If user1 is setting up his account the login is
user1@domain.com and when user2 is setting up his account the login is
user2@domain.com
So what I want is inserting some kind of variable into the xml file which tells Outlook that it is supposed to insert the current <username> before the @domain.com as the loginname
Outlook seams to have no problem dynamically inserting the <username> as the login according to the entered email address as long as no <domain> is required. So why can't I achieve the same with a domain in the login?
Can anybody point me in the correct direction?
Thanks a lot.