Hi Roelof,

On Wed, 3 Jul 2002 14:08:38 +0200 GMT (Jul 03, 17:53 my time),
you [RO] wrote:

RO> 
%if:'%SETPATTREGEXP="(.*@.*(,|;{1}).*@.*)"%REGEXPMATCH="%ToList"'<>'':'All':'%ABtoFIRSTNAME="%TOFNAME"',

RO> This tests whether there are two instances of '@' separated by an
RO> address separator in your to-header. It doesn't really test for
RO> multiple addresses, since some people could have put a '@' and an
RO> address separator in their username, but that's not very likely.

Thanks Roelof. This works perfectly except when  "Replying to all"
because TB! adds all other original recipients, except the sender, in
CC field. So, in this case the macro outputs "Hello %TOFNAME" in both
the instances. Any suggestion?

-- 

Cheers,
Sudip                  For PM:- mailto:[EMAIL PROTECTED]

----
Sudip Pokhrel
Kathmandu-NP
PGP Key ID: 0xD93F5185
http://pgpkeys.mit.edu

-- Sys Info --
Using The Bat! v1.60q
on Windows 98 4.10 (Build 2222  A )
H/W: Pentium IV 1.4 Ghz|256MB RAM|40GB HDD
[IE 5.0, Opera 6.03 (default)]


                        
             
           <The trouble with political jokes is they get elected>


________________________________________________________
Current Ver: 1.60q
FAQ        : http://faq.thebat.dutaint.com 
Unsubscribe: mailto:[EMAIL PROTECTED]
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Bug Reports: https://www.ritlabs.com/bt/

Reply via email to