Search code examples
c#webdavexchange-server-2003

how to sent mail to "user created" folder instead of "Sent" folder, when the mail was sent using webdav,c# to exchange 2003 server


i have created one application which will send and receive mails, so in that application when i send any mail then it should go to "user created" folder instead of "sent" folder of exchange server2003.

I mean it should directly navigate to "user created" folder from the "outbox", it should not go to "sent" folder from "outbox".


Solution

  • You need to add the header "Savedestination" to the message.

    See http://msdn.microsoft.com/en-us/library/ee178357(v=EXCHG.80).aspx