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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

X-<strong>MS</strong>-Exchange-Organization-AuthSource:<br />

contoso.com<br />

X-<strong>MS</strong>-Has-Attach: yes<br />

X-<strong>MS</strong>-Exchange-Organization-SCL: -1<br />

X-<strong>MS</strong>-TNEF-Correlator:<br />

acceptlanguage: en-US<br />

Content-Type: application/x-pkcs7-mime; smime-type=enveloped-data;<br />

name="smime.p7m"<br />

Content-Disposition: attachment; filename="smime.p7m"<br />

Content-Transfer-Encoding: base64<br />

MIME-Version: 1.0<br />

MIAGCSqGSIb3DQEHA6CAMIACAQAxggJEMIIBHgIBADCBhjB4MRMwEQYKCZImiZPyLGQBGRYDY29t<br />

MRkwFwYKCZImiZPyLGQBGRYJbWljcm9zb2Z0MRYwFAYKCZImiZPyLGQBGRYGZXh0ZXN0MR0wGwYK<br />

CZImiZPyLGQBGRYNamluZ2h1YWMwMURPTTEPMA0GA1UEAxMGVGVzdENBAgonJIo2AAAAAAAHMA0G<br />

(Large section of sample data removed)<br />

<br />

<br />

IPM.Note.SMIME<br />

20127<br />

<br />

urn:content-classes:message<br />

1<br />

…<br />

…<br />

<br />

<br />

<br />

<br />

4.10.3 Fetching an E-Mail Item with a LongId<br />

The following sections show how the client retrieves an e-mail message by using the<br />

search:LongId element (section 2.2.3.83.2). The client uses the Search command (section<br />

2.2.2.14) to get the search:LongId value corresponding to the message, and then uses the<br />

itemoperations:Fetch element (section 2.2.3.60.1) with the search:LongId element to retrieve<br />

the message.<br />

4.10.3.1 Search 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 for e-mails containing the text "Sales Totals".<br />

<br />

<br />

<br />

Mailbox<br />

<br />

<br />

Email<br />

7<br />

Sales Totals<br />

<br />

<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 />

300 / 369

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

Saved successfully!

Ooh no, something went wrong!