I found some sample C# code
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
The remote server returned an error: (409) Conflict.
TargetSite: Void CheckFinalStatus()
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
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?