-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Urke,
On 27 June 2001 at 21:12:49 +0200 (which was 20:12 where I live)
Urke wrote to [EMAIL PROTECTED] and made these points:
U> Well, next step is to check if in header exist X-Mailer, then write to
U> message mail client name, if not exist, then write N/A, and I make this:
U> %SETPATTREGEXP="^.*(X\-Mailer)\:\s(.*?)\n.*"%-
U> %REGEXPBLINDMATCH="%HEADERS"%-
U> %IF:"%SUBPATT='1'"="X-Mailer":"%SUBPATT='2'":"N/A"
U> ...but, always I get N/A.
U> So, question is - what is wrong :-)
It seems that the %IF is cancelling the pattern match results. By
breaking it down into two macros I got it working:
<mailer>
%SETPATTREGEXP="^.*X-Mailer\:\s(.*?)$"%-
%REGEXPMATCH="%HEADERS"
</mailer>
Then the main macro becomes:
%IF:"%QINCLUDE='mailer'"<>"":"%QINCLUDE='mailer'":"N/A"
It worked for me...
- --
Cheers -- .\\arck D. Pearlstone -- List moderator and fellow end user
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\ BrainStorm - free thinking - www: http://www.brainstormsw.com /
\ PGP Key ID: 0x929DCDA0 | www: http://www.silverstones.com /
SB! v1.53d/iKey1000 55238-48F0B on Windows NT 5.0.2195 Service Pack 1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (MingW32)
Comment: GPG Sealed for freshness
iD8DBQE7OjijOeQkq5KdzaARAsdOAJ43CsgAuDfW+DtYJ9b527UBS0bugQCePtNs
9Pstwgx81YbDq5ZDqqUfTGk=
=AXRk
-----END PGP SIGNATURE-----
--
______________________________________________________
Archives : <http://tbtech.thebat.dutaint.com>
Moderators : <mailto:[EMAIL PROTECTED]>
Unsubscribe: <mailto:[EMAIL PROTECTED]>