Is it possible to write C# code as below and send email using network in different country?
        Posted  
        
            by kedar karthik
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by kedar karthik
        
        
        
        Published on 2010-05-01T03:33:35Z
        Indexed on 
            2010/05/03
            14:18 UTC
        
        
        Read the original article
        Hit count: 448
        
Is it possible to write C# code as below and send email using mnetwork in different country?
MSExchangeWebServiceURL = mail.something.com/ews/exchange.asmx
It's a web service URL. This works great when I run the same code from home network, my friends home network anywhere around, but when I run it from my client's location in Columbia it fails.
I have a valid user name and password on that Exchange Server. Is there any configuration that I can set to achieve this?
BTW this code below works when I run it within office network and any network within any home network. I have tried it at least with five friends network in Plano, Texas. I want this code to work running from any network in another country.
My client in Columbia can connect to the web service using a browser using the same user name and password, but when I run the code above it is not able to connect to our web service.
© Stack Overflow or respective owner