Re: Reply based on domain

Roelof Otten <[email protected]>
Newsgroups gmane.mail.the-bat.devel
Organization E-mailaholics International
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.