How Search Command could query mails only by Sender and Subjects ? RRS feed

  • Question

  • Hi all:

    I want to know about how to search remote mails by SEARCH on by "Sender" or "Subjects"

    here is my SEARCH cmd:

    <?xml version="1.0" encoding="utf-8"?>
    <Search xmlns="Search:" xmlns:airsync="AirSync:">
            <RebuildResults />


    Monday, October 10, 2011 8:19 AM


All replies

  • Hi,

    Thank you for your question.  One of our engineers will follow up soon.



    Monday, October 10, 2011 2:58 PM
  • Hi Nehe, I am the engineer who will be working with you on this issue. I am currently researching the problem and will provide you with an update soon. Thank you for your patience.
    Josh Curry (jcurry) | Escalation Engineer | US-CSS DSC Protocols Team
    Monday, October 10, 2011 7:04 PM
  • Hi Nehe, can you provide some additional details about the problem that you are having? Are you getting an error or just not the results you expect? I noticed that you are using the airsyncbase alias, but you did not include the alias in the Search element. You need to include that.


    <Search xmlns="Search:" xmlns:airsync="AirSync:" xmlns:airsyncbase="AirSyncBase:">


    Josh Curry (jcurry) | Escalation Engineer | US-CSS DSC Protocols Team
    Tuesday, October 11, 2011 4:14 PM
  • Hi JCurry:

    The problem I got is that I can not get the expected result, actually I don not know how to SEARCH only by "subject" or "Sender" , SEARCH leads a whole content matching so far on my Implementation.


    Wednesday, October 12, 2011 4:21 AM
  • Is there any one still following on this issue?

    I am waiting for the answer.



    Wednesday, October 19, 2011 12:41 AM
  • Hi Neha, it looks like the FreeText element supports Advanced Query Syntax (AQS) which you can use to specify which property to search. For example, you could use the following to search for emails that contain 'presentation' in the Subject property only "subject:presentation". The following articles provide additional details on what keywords are supported and how to build complex queries using AQS.



    Please note that AQS is part of Exchange Server and is not part of the Exchange Server protocols. EAS and EWS just pass the value straight through to the Exchange Server. AQS is supported By Exchange Server 2007 and newer.

    Josh Curry (jcurry) | Escalation Engineer | Open Specifications Support Team
    Wednesday, October 19, 2011 11:01 PM
  • Thanks for your answer.

    I do use AQS in my SEARCH command like:

    <freeText>from:test subject:test</freeText>

    The mails I received are all matched "from:test" or "subject:test" in all E-mail content, so "from:" and "subject:" are not KEYWORD on server.

    Is this mean the server I tested dosen't implement AQS?


    Thursday, October 20, 2011 6:31 AM
  • Hi Neha, as I mentioned in my previous post, AQS is supported by Microsoft Exchange Server 2007 and newer. If the AQS string is not being recognizedby the server it's probably either not a Microsoft Exchange server, or it's an older version.
    Josh Curry (jcurry) | Escalation Engineer | Open Specifications Support Team
    Thursday, October 20, 2011 3:00 PM