11.01.2015 Views

[MS-ASCMD]: ActiveSync Command Reference Protocol Specification

[MS-ASCMD]: ActiveSync Command Reference Protocol Specification

[MS-ASCMD]: ActiveSync Command Reference Protocol Specification

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.11 Searching for an Item in the Mailbox by Using the Search <strong>Command</strong><br />

The following sections show how the client performs keyword searches by using the Search<br />

command (section 2.2.2.14) and forwards search results for items in the mailbox by using the<br />

SmartForward command (section 2.2.2.17).<br />

4.11.1 Keyword Search<br />

In the following example, the client searches the Inbox folder in the mailbox by using the keyword<br />

"Presentation". The client requests the first five results and requests that text bodies be returned for<br />

the results. Note that the content of the search:FreeText element (section 2.2.3.69) is not casesensitive.<br />

4.11.1.1 Request<br />

The following example shows the Search command request (section 2.2.2.14.1) sent from the client<br />

to the server to search the Inbox folder by using the keyword "Presentation".<br />

<br />

<br />

<br />

Mailbox<br />

<br />

<br />

7<br />

Presentation<br />

<br />

<br />

<br />

<br />

0-4<br />

<br />

<br />

<br />

<br />

4.11.1.2 Response<br />

The following example shows the Search command response (section 2.2.2.14.2) sent from the<br />

server to the client.<br />

<br />

1<br />

<br />

<br />

1<br />

<br />

Email<br />

RgAAAACYWCHnyBZ%2fTq8bujFmR1EPBwBzyWfENpcEQ7<br />

zUNyaWwM4BAAAA8FxEAABzyWfENpcEQ7zUNyaWwM4BAAAA8HACAAAJ<br />

7<br />

<br />

"deviceuser" &lt;anat@contoso.com&gt;<br />

<br />

[<strong>MS</strong>-<strong>ASCMD</strong>] — v20110315<br />

<strong>ActiveSync</strong> <strong>Command</strong> <strong>Reference</strong> <strong>Protocol</strong> <strong>Specification</strong><br />

Copyright © 2011 Microsoft Corporation.<br />

Release: Tuesday, March 15, 2011<br />

306 / 369

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!