Yes. The first 9 messages.
I am interested on how can i implement this in java using Slide Webdav to
retrieve from
an exchange server only the messages in a specified range.

Thank you,

Attila
----- Original Message ----- 
From: "Mark Breitner" <[EMAIL PROTECTED]>
To: "Slide Users Mailing List" <[email protected]>
Sent: Wednesday, May 11, 2005 9:38 AM
Subject: Re: Help please


> What do you mean by range ? The first 9 messages ?
>
>
> >     Hello,
> >
> > Is there any way implementing this in Java using Slide Webdav?
> >
> >    Sub getMessages_OnClick()
> >     strUsername = document.all.mailbox.value
> >      If strUsername <> "" Then
> >      strInboxURL = strProtocol & "://" & strServername & "/Exchange/"
> >      strInboxURL = strInboxURL & strUsername & "/" & strInbox
> >      Set objXMLHTTP = CreateObject("Microsoft.XMLHTTP")
> >       objXMLHTTP.Open "SEARCH", strInboxURL, True
> >       objXMLHTTP.setRequestHeader "Content-type:", "text/xml"
> >       objXMLHTTP.setRequestHeader "Depth", "1"
> >       objXMLHTTP.onReadyStateChange = getRef("checkXMLHTTPState")
> >         strXML = "<?xml version='1.0' ?>" & _
> >         "<a:searchrequest xmlns:a='DAV:'><a:sql>" & _
> >          "SELECT" & _
> >          " ""DAV:href""" & _
> >          ",""urn:schemas:httpmail:subject""" & _
> >          " FROM scope('shallow traversal of """ & strInboxURL & """')" &
_
> >         " WHERE ""DAV:ishidden""=False" & _
> >         " AND ""DAV:isfolder""=False" & _
> >        "</a:sql></a:searchrequest>"
> >       objXMLHTTP.SetRequestHeader "Range", "rows=0-9"
> >       objXMLHTTP.Send(strXML)
> >      End If
> >    End Sub
> >
> > I'm specially interested in this section:
> >           objXMLHTTP.SetRequestHeader "Range", "rows=0-9"
> >
> > What i try to do is to get only the messages in a specified range from
an
> > exchange server.
> >
> > Thank you in advance,
> >
> > Attila
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> -- 
> +++ Neu: Echte DSL-Flatrates von GMX - Surfen ohne Limits +++
> Always online ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to