Hi Henning,
As stated in the previous message, when the PUT command is used the "
http://schemas.microsoft.com/exchange/outlookmessageclass" defaults
to 'IPM.Note'.
I've issued the PROPPATCH explicitly now (making it uppercase to be
sure as you typed it), but it doesn't make a difference.
I'll quote Eric Smith (
http://stenz.livejournal.com/256254.html) here
(he has exactly the same problem):
I have a .NET (ASP.NET) app that can successfully create an email,
put it into a user's Drafts folder, attach files to it, and even send
it out. Except that the client doesn't want it to auto send, they
want a human to review it, and then have the human press "Send" on
each email. So it stops just short of sending out and just leaves the
message in the Drafts folder.
Fine.
Except that when you use WebDAV to create an email and put it into
the Drafts folder, it appears that it marks it as Sent in the sense
that it no longer has the "Send" button, but it does have the Reply,
Forward, etc buttons. You can do a "Send Again" action on it, but
that is too much to ask of someone who just wants to click through,
opening them, and then sending them.
Anyone know why it is doing this?
Do you know the property that can be changed (and to what value) via
a proppatch call in order to make it editable?
I have been looking all over and I used to have a reference page on
MSDN for proppatch and the XML properties that the Exchange WebDAV
wants for its emails, but MS has moved it on me and now I can't find
it at all via Google.
Best Regards,
Wiebe Tijsma
Henning Krause [MVP - Exchange] schreef:
Hello,
After the PUT command, you should issue a PROPPATCH command, setting
the
http://schemas.microsoft.com/exchange/outlookmessageclass
property to IPM.NOTE.
Best regards,
Henning Krause
Hi Henning,
Thanks for your response.
Basically the issue is the same as described on the following urls,
but there was never a solution:
http://stenz.livejournal.com/256254.html
http://www.thescripts.com/forum/post2008424-3.html
I'm not using any PROPPATCH command (yet), just a PUT command.
By default, the
http://schemas.microsoft.com/exchange/outlookmessageclass property
is set to "IPM.Note", same as the message that does show the 'send'
button in the drafts folder.
Best Regards,
Wiebe Tijsma
Henning Krause [MVP - Exchange] schreef:
Hello,
have you set the message class correctly?
Best regards,
Henning Krause
Hi,
I'm using C# + webDAV to create a draft message to be sent in a
user's Drafts folder.
I can create the message successfully, however when I open the
message in outlook, it doesn't show the 'send' button, (only
'reply' etc as if it was a received message).
I'm using exchange explorer to see the difference in webDAV
properties with drafts created normally from Outlook, but can't
figure out which property is responsible for showing the 'send'
button.
Any hints would be appreciated.
Thanks,
Wiebe Tijsma