Macro - more than one recipient

2009-01-06 Thread Paul Meathrel
Hi all,

I'm trying to work out whether it is possible within a template to establish 
whether there is more than one recipient in the To list using a macro. I can't 
see how I might achieve this using a macro, so I thought that I would ask here.

-- 
Warmest regards,

Paul

Created using TheBat! 4.1.7 on Windows Vista

Current version is 4.1.7 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Macro - more than one recipient

2009-01-06 Thread Roelof Otten
Hallo Paul,

On Tue, 6 Jan 2009 17:13:36 +GMT (6-1-2009, 18:13 +0100, where I
live), you wrote:

PM I'm trying to work out whether it is possible within a template
PM to establish whether there is more than one recipient in the To
PM list using a macro.

Yep, that's possible.

PM I can't see how I might achieve this using a macro, so I thought
PM that I would ask here.

%SetPattRegExp='(?is)(.*?)@(.*?)@(.*)'%-
%RegExpBlindMatch='%ToList'%-
%If:%SubPatt='3':Multiple recipients present:No multiple recipients 
present

-- 
Groetjes, Roelof

Every person gets to heaven in their own way.
http://www.voormijalleen.nl/
The Bat! 4.1.9
Windows Vista 6.0 Build 6001 Service Pack 1
3 pop3 accounts
OTFE enabled
Quad Core 2.4GHz
4 GB RAM

pgpJihLQyk34C.pgp
Description: PGP signature

Current version is 4.1.7 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html