Riku Kosonen
Guest
|
Posted:
Wed Dec 21, 2005 1:58 am Post subject:
409 Conflict when sending mail using WebDAV |
|
|
Hi,
I found some sample C# code
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_esdk_sending_a_message_webdav.asp)
from the Exchange 2003 SDK for sending a mail message using WebDAV. I tested
it on a Exchange 2003 (SP1) server and it worked fine. I tried it on another
server (Exchange 2003 SP2) and got a 409 Conflict. The conflict occured when
trying to PUT the new message to the Drafts folder. The error information is
below:
The remote server returned an error: (409) Conflict.
Type: System.Net.WebException
TargetSite: Void CheckFinalStatus()
StackTrace:
at System.Net.HttpWebRequest.CheckFinalStatus()
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.HttpWebRequest.GetResponse()
I can read the messages from the mailbox using WebDAV, so the connection to
the mailbox works fine. I'm using a HTTP connection and instead of using
supplied credentials (as in the sample) I use the DefaultCredentials of the
current user. Anyone had the same problem?
|
|