Hallo Peter,

On Wed, 3 Nov 2004 14:42:20 +0100GMT (3-11-2004, 14:42 +0100, where I
live), you wrote:

RO>> Put all of the company addresses in an AB group and set the AB group
RO>> templates according to your wishes.
PF> It's an LDAP address book with a _lot_ of entries, so I do not think
PF> this is the best solution.

I guess you're right.

Try this:

%SetPattRegExp="(@YourDomain)"%-
%_Domain='%RegExpMatch="%ToAddr"'%-
%If:"%_Domain"="":"%QInclude='TemplateWithDisclaimer'":"%QInclude='TemplateWithoutDisclaimer'"

Replace YourDomain with your actual domain
Replace the fake template names with actual template names.

-- 
Groetjes, Roelof

WinErr: 001 Windows loaded.  System in danger.

The Bat! 3.0.2.4 Rush
Windows XP 5.1 Build 2600 Service Pack 2
1 pop3 account, server on LAN

________________________________________________________

http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to