![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
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? |
#2
|
|||
|
|||
![]()
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 "Rodeng" wrote in message ... 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? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is ElseIf the right expression here? | fionamac | Outlook and VBA | 14 | March 27th 06 12:08 AM |
how can you get the extended day header to invert black bar? | Frank | Outlook - Calandaring | 1 | March 1st 06 10:25 AM |
expression which is not collaction type error in vb.net | Sanjay | Outlook and VBA | 3 | February 24th 06 02:48 PM |
Is Extended MAPI "hard"? | Rob Nicholson | Outlook and VBA | 6 | January 25th 06 02:01 PM |
Mapi32.dll is an invalid extended MAPI library | Mike Dormante | Outlook - General Queries | 1 | January 20th 06 03:26 PM |