Operation timeout thrown using WebDav
- by Izabela
I build a desktop application in C# to send an email notification to a set of subscribed users. I am using Webdav to implement this function and using OWA (Outlook web access) and everything works fine till the 33 mail then 'Operation Timeout' exception is thrown.
I can rerun my application to send emails to the remaining users but again after some emails again exception occurrs. Of course i could like to perform this operation in one run.
I've tried adding some timeout value to my HttpWebRequest object and also put some Thread.Spleep value after sending each mail so that each http web request doesn't interfere with the following request.
But now i am stuck with this timeout exception and no idea how to handle it.
One idea would be that my logged in session in owa expired but i am loggin in each time a send a new email.
Please can you provide me some help if you experienced with Web dav.