0

SearchMessages Query parameters

Using the Mail API call SearchMessages, the docs have no detail on what the query parameter can be set to.

I'd like to search "from:username" and "subject:Something"

can I do that, and can I use boolean operators to search more than 1 field?

by
2 Replies
  • Yes you can do it. Multiple criteria is also supported. We also have Mail YQL table for this. For more information on search query params please check this link. Thanks

    --R

    QUOTE (John K @ Nov 12 2010, 02:08 PM) <{POST_SNAPBACK}>
    Using the Mail API call SearchMessages, the docs have no detail on what the query parameter can be set to.

    I'd like to search "from:username" and "subject:Something"

    can I do that, and can I use boolean operators to search more than 1 field?
    0
  • Ram, is there any way to do search by Date?

    I want to find all messages I haven't found before, and I have a date of my last search.
    Advanced Search has the capability, but I can't figure out how to make it work in the API.

    Also is there any way to do "OR" searches in one request:

    subject:"Jobs" OR subject:"Money" ??


    QUOTE (Ram @ Nov 12 2010, 08:13 PM) <{POST_SNAPBACK}>
    Yes you can do it. Multiple criteria is also supported. We also have Mail YQL table for this. For more information on search query params please check this link. Thanks

    --R
    0

Recent Posts

in Yahoo! Mail Web Services API