03-07-2009 10:39 PM
I added a new StringPattern to StringPatternRepository and noticed that the pattern match only works in plain text emails, not html emails. The pattern I am try to match is a simple text "JUNEYOUNG". After put some debug output in the findMatch function, I found out that only in plain text email that the email content is passed to findMatch function. In html format email, only the subject is passed to the function.
Could someone advice how to detect string pattern in html format email?
03-12-2009 10:09 AM
07-10-2009 10:48 AM
I have the same issue in HTML email.
8900 device v18.104.22.168 (Platform 22.214.171.124) ATT
8320 device v126.96.36.199 (Platform 188.8.131.52) TMO
I tried both example apps from:
In all cases I have to "Get Plain Text" for the patterns (5-digit numbers) to be recognized and the MenuItem to show up.
Also, should patterns also be matched/highlighted in the Browser like phone numbers are ... or is the Browser a 'special' case?
07-16-2009 10:10 AM
Is this thread dead???
Please can someone tell me if this is a bug in how the PatternRepository works or is there some way to get patterns to highlight in HTML emails.
Thanks in advance for 'any' reply!
07-24-2009 01:01 PM - edited 07-24-2009 01:02 PM
07-29-2009 03:57 PM
For performance, we don’t support third-party StringPatterns in HTML. However, some possible alternatives you could use are:
BrowserContentProviderRegistry (See BrowserPlugin sample within the JDE)
HTTPFilter (See HTTPFilterDemo sample in the JDE).
09-18-2009 02:12 PM
saziz, can you elaborate on how to use BrowserContentProvider to achieve roughly the same effect as with StringPatterns?
It appears that you would need to create a new HTML renderer just to detect clicking on links?