I use WebDAV to create a new email message and add to a mailbox. When I double-click on the message in Outlook to popup the window to show the message, it uses the compose window to show the message instead of opening up with the read only window. The following is the xml I send to Exchange. How do I make it not to open with compose window. Thanks. <?xml version="1.0"?><DAV:propertyupdate xmlns:HTTPMAIL="urn:schemas:httpmail:" xmlns:MAILHEADER="urn:schemas:mailheader:" xmlns:EXCHANGE="http://schemas.microsoft.com/exchange/" xmlns:DAV="DAV:" xmlns:c="XML:" xmlns:dt="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/"><DAV:set><DAV:prop><DAV:contentclass dt:dt="string">urn:content-classes:message</DAV:contentclass></DAV:prop></DAV:set><DAV:set><DAV:prop><DAV:isreadonly dt:dt="boolean">1</DAV:isreadonly></DAV:prop></DAV:set><DAV:set><DAV:prop><EXCHANGE:outlookmessageclass dt:dt="string">IPM.Note</EXCHANGE:outlookmessageclass></DAV:prop></DAV:set><DAV:set><DAV:prop><MAILHEADER:from dt:dt="string">100@ab.net</MAILHEADER:from></DAV:prop></DAV:set><DAV:set><DAV:prop><MAILHEADER:to dt:dt="string">jeff@abc.net</MAILHEADER:to></DAV:prop></DAV:set><DAV:set><DAV:prop><HTTPMAIL:subject dt:dt="string">111111111111111111</HTTPMAIL:subject></DAV:prop></DAV:set><DAV:set><DAV:prop><HTTPMAIL:datereceived dt:dt="dateTime.tz">2005-07-02T21:06:26.000Z</HTTPMAIL:datereceived></DAV:prop></DAV:set><DAV:set><DAV:prop><HTTPMAIL:textdescription dt:dt="string">11111111111111 -----Original Message----- From: Jeff Sent: Sat 7/2/2005 12:08 AM To: 100 Cc: Subject: 1111111111111 SPACE CENTER, Houston - A couple short strips of fabric dangling from Discovery's belly may require an unprecedented repair by spacewalking astronauts, if engineers determine there's even a possibility that the problem could endanger the shuttle during descent, </HTTPMAIL:textdescription></DAV:prop></DAV:set><DAV:set><DAV:prop><MAILHEADER:message-id dt:dt="string">1947116.1123017791910.user@localhost</MAILHEADER:message-id></DAV:prop></DAV:set><DAV:remove><DAV:prop><HTTPMAIL:reply-by/></DAV:prop></DAV:remove><DAV:remove><DAV:prop><MAILHEADER:return-path/></DAV:prop></DAV:remove><DAV:set><DAV:prop><MAILHEADER:sender dt:dt="string">100@abc.net</MAILHEADER:sender></DAV:prop></DAV:set><DAV:set><DAV:prop><HTTPMAIL:sendername dt:dt="string">100</HTTPMAIL:sendername></DAV:prop></DAV:set></DAV:propertyupdate>
You need to set the PR_MESSAGE_FLAGS http://schemas.microsoft.com/mapi/proptag/x0E070003 to something so you need to include something like xmlns:mapit="http://schemas.microsoft.com/mapi/proptag/" and <mapit:x0E070003 dt:dt="int">3</mapit:x0E070003> Cheers Glen "struggling..." wrote in message news:CFC474AA-789F-4C69-9B70-3165FC0536B5@microsoft.com... >I use WebDAV to create a new email message and add to a mailbox. When I > double-click on the message in Outlook to popup the window to show the > message, it uses the compose window to show the message instead of opening > up > with the read only window. The following is the xml I send to Exchange. > How > do I make it not to open with compose window. Thanks. > > <?xml version="1.0"?><DAV:propertyupdate > xmlns:HTTPMAIL="urn:schemas:httpmail:" > xmlns:MAILHEADER="urn:schemas:mailheader:" > xmlns:EXCHANGE="http://schemas.microsoft.com/exchange/" xmlns:DAV="DAV:" > xmlns:c="XML:" > xmlns:dt="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/"><DAV:set><DAV:prop><DAV:contentclass > dt:dt="string">urn:content-classes:message</DAV:contentclass></DAV:prop></DAV:set><DAV:set><DAV:prop><DAV:isreadonly > dt:dt="boolean">1</DAV:isreadonly></DAV:prop></DAV:set><DAV:set><DAV:prop><EXCHANGE:outlookmessageclass > dt:dt="string">IPM.Note</EXCHANGE:outlookmessageclass></DAV:prop></DAV:set><DAV:set><DAV:prop><MAILHEADER:from > dt:dt="string">100@ab.net</MAILHEADER:from></DAV:prop></DAV:set><DAV:set><DAV:prop><MAILHEADER:to > dt:dt="string">jeff@abc.net</MAILHEADER:to></DAV:prop></DAV:set><DAV:set><DAV:prop><HTTPMAIL:subject > dt:dt="string">111111111111111111</HTTPMAIL:subject></DAV:prop></DAV:set><DAV:set><DAV:prop><HTTPMAIL:datereceived > dt:dt="dateTime.tz">2005-07-02T21:06:26.000Z</HTTPMAIL:datereceived></DAV:prop></DAV:set><DAV:set><DAV:prop><HTTPMAIL:textdescription > dt:dt="string">11111111111111 > > -----Original Message----- > From: Jeff > Sent: Sat 7/2/2005 12:08 AM > To: 100 > Cc: > Subject: 1111111111111 > > > SPACE CENTER, Houston - A couple short strips of fabric dangling from > Discovery's belly may require an unprecedented repair by spacewalking > astronauts, if engineers determine there's even a possibility that the > problem could endanger the shuttle during descent, > > </HTTPMAIL:textdescription></DAV:prop></DAV:set><DAV:set><DAV:prop><MAILHEADER:message-id > dt:dt="string">1947116.1123017791910.user@localhost</MAILHEADER:message-id></DAV:prop></DAV:set><DAV:remove><DAV:prop><HTTPMAIL:reply-by/></DAV:prop></DAV:remove><DAV:remove><DAV:prop><MAILHEADER:return-path/></DAV:prop></DAV:remove><DAV:set><DAV:prop><MAILHEADER:sender > dt:dt="string">100@abc.net</MAILHEADER:sender></DAV:prop></DAV:set><DAV:set><DAV:prop><HTTPMAIL:sendername > dt:dt="string">100</HTTPMAIL:sendername></DAV:prop></DAV:set></DAV:propertyupdate>