in reply to Re: Outlook Ole Find method
in thread Outlook Ole Find method

It seems nice to activate in my code, Unfortunately doesn't work properly. It seems a problem in filter string

"[EntryID] = \"$entryID\"".

I want to do it with multiple properties such as Subject, SenderName, etc.
If you have further clarification or anyone else...?

Replies are listed 'Best First'.
Re: Re: Re: Outlook Ole Find method
by BrowserUk (Patriarch) on Aug 05, 2003 at 14:30 UTC

    If I recall, the basic syntax is

    ... $items->Find( '[Subject] = ' . $subject1 . ' or [Subject] = ' . $subject2 . ' and [SenderName] = ' . $sender );

    You'll need to look up the MS docs for the list of available categories and the full syntax. My memory isn't what it once was:)


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller
    If I understand your problem, I can solve it! Of course, the same can be said for you.

      Alright, It works fine! Thanks a lot for you and all others help in the matter - SB