End Google Ads 201810 - BS.net 01 --> Hi All,

I've recently been given the task to create a program in C# that retrieves a given user's email attachments and place them in a local folder. The first step I'm researching is how do I initially connect to the mail server when our mail is hosted by Rackspace? Should I be able to use EWS commands? If not is there some other way I can access a user's mail via c#?

I've tried the following:
http://www.omegacoder.com/?p=454[^]

But get the warning message:
An unhandled exception of type 'Microsoft.Exchange.WebServices.Data.AutodiscoverLocalException' occurred in Microsoft.Exchange.WebServices.dll

Additional information: The Autodiscover service could not be located.

It's possible I set the "AutodiscoverUrl" incorrectly, I just put my email address as it states.

Any help on this would be great.
Thanks in advance,

Mel