At Tuesday, June 26, 2001 on 10:15:36 PM, Marck D Pearlstone wrote:
MDP> %SETPATTREGEXP="^.*X\-Mailer\:\s(.*?)\n.*"%REGEXPBLINDMATCH="%HEADERS"%SUBPATT="1"
MDP> You only need to define the single sub-pattern - that in which you
MDP> are interested - and the \n should be *outside* of that pattern.
Thanks for that.
Well, next step is to check if in header exist X-Mailer, then write to
message mail client name, if not exist, then write N/A, and I make this:
%SETPATTREGEXP="^.*(X\-Mailer)\:\s(.*?)\n.*"%-
%REGEXPBLINDMATCH="%HEADERS"%-
%IF:"%SUBPATT='1'"="X-Mailer":"%SUBPATT='2'":"N/A"
...but, always I get N/A.
So, question is - what is wrong :-)
--
Urke from Serbia
mailer: The Bat! v1.53d
OpSys: Windows 98 4.10 Build 1998
System: Cyrix 200+ 16MB EDO
Tip: CULMEN SAPIENTIAE.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
______________________________________________________
Archives : <http://tbtech.thebat.dutaint.com>
Moderators : <mailto:[EMAIL PROTECTED]>
Unsubscribe: <mailto:[EMAIL PROTECTED]>