Welcome! Log In Create A New Profile

Advanced

Outlook; filtering on emailadres

Posted by Frans 
Frans
Outlook; filtering on emailadres
June 11, 2009 03:33PM
Hello to you all,

Is there a way to filter (query) the outlook messages based on the emailadres?
I want to see what messages are send to a specific emailadres or received from a specific emailadres.
I searched the help but found no beginning

Thanks in advance.
Frans
Found it: Outlook; filtering on emailadres
June 11, 2009 05:36PM
Hello to you all,

Looked in a wrong direction.
Found it and it worked. Only the reading of the file takes a while. After that the finding of the next record is very quick.

SessionID is int
SessionID = EmailStartOutlookSession("")
IF EmailSeekFirst(SessionID, emailSender, "SenderAdres@windev.com") = True THEN
WHILE Email.Out = False
TableAdd(Table, Email.Sender + TAB + Email.Subject)
EmailReadNext(SessionID)
END
ELSE
Info("No email was found")
END
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: