Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming VBA / November 2006

Tip: Looking for answers? Try searching our database.

Regular expression search in Outlook with Extended MAPI

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rodeng - 03 Nov 2006 09:28 GMT
Hello,

I'd like to search for e-mail in the Outlook folder with Extended MAPI and
the Redemption library (in C++ or C#).

I tried restricting with kind RES_PROPERTY and RELOP_RE for regular
expressions search, but this never matches anything; whereas with RELOP_EQ I
can find the text I am looking for.

If I set lpProp to some normal text without special characters, it is found
in RELOP_EQ mode, but not in RELOP_RE mode. Or setting lpProp to ".*" which
should match everything does not find anything either.

Is there a catch in regexp search, or is the syntax different from the one
described in http://msdn2.microsoft.com/en-us/library/1400241x.aspx or is
regexp search simply broken?
Dmitry Streblechenko - 03 Nov 2006 18:28 GMT
MAPI restrictions do *not* support regular expressions.
Do you want to support any regular expressions (probably won't work because
of the store provider limitations) or a particular regular expression?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool

> Hello,
>
[quoted text clipped - 15 lines]
> described in http://msdn2.microsoft.com/en-us/library/1400241x.aspx or is
> regexp search simply broken?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.