Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Wed, 3 Aug 2005 13:17:02 -0700,    group: microsoft.public.exchange2000.development        back       


Problem adding a new message to mailbox using WebDAV   
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>
date: Wed, 3 Aug 2005 13:17:02 -0700   author:   struggling...

Re: Problem adding a new message to mailbox using WebDAV   
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>
date: Thu, 4 Aug 2005 12:00:15 +1000   author:   Glen Scales [MVP]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us