409 Conflict when sending mail using WebDAV

409 Conflict when sending mail using WebDAV

Post by Riku Koson » Thu, 22 Dec 2005 05:08:13


I found some sample C# code
( http://www.yqcomputer.com/ )
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.

Type: System.Net.WebException

TargetSite: Void CheckFinalStatus()

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?

409 Conflict when sending mail using WebDAV

Post by Sandee » Fri, 05 May 2006 19:47:03

Hi Riku
This error might occur if you are using some localized version of outlook in
that case your drafts folder will not be accessible with the url
http[s]://server/exchange/username/drafts. Make sure you can access your
drafts folder through OWA using the same url you are using in your code.


http://www.yqcomputer.com/ ;EN-ME;820501


409 Conflict when sending mail using WebDAV

Post by Henning Kr » Fri, 05 May 2006 21:53:50


you might want to take a look at this article:

Henning Krause