Hello Raj,

On Wednesday, September 12, 2001 at 12:44:31 PM you wrote (at least in part):

R> Thomas,

R> On Wed, 12 Sep 2001, at 18:05:45 [GMT +0800] (which was 3:35 PM where I live) you
R> wrote:

TF>> You mean you share the same friends with the same email addresses but
TF>> want to use different templates? In that case, I recommend you use
TF>> quick templates.

R> Yes  that  is  the case... I am the book keeper of the comp. Just wanted to check 
if there
R> was  some  way  where  using  Reg Ex I could call a template if the New or reply 
was being
R> invoked from the account which my wife uses. Else the regular template will be used.

Create two QTs, both named _exactly_ like the accounts.
Insert

%QINCLUDE="%ACCOUNTNAME"

in New/Reply Template
Maybe you want to extend it to

%QINCLUDE="%ACCOUNTNAME-new"

for new mails and

%QINCLUDE="%ACCOUNTNAME-re"

for replys.

this way you'd need four QTs:
Assume the Account-names are "Raj" & "Wife" (silly, I know *g*):

QTs: Raj-new
     Ray-re
     Wife-new
     Wife-re

%ACCOUNTNAME should be expanded to 'Raj' or 'Wife' so the correct QT should be
_automatically_ included, w/o RegExp :-)
Otherwise there's of course still the possibilities I wrote in my other mail
(Message-ID: <[EMAIL PROTECTED]>)

HTH Pit
-- 
Regards
Peter Palmreuther                            mailto:[EMAIL PROTECTED]
(The Bat! v1.54 Beta/8 on Windows NT 5.0 Build 2195 Service Pack 2)

It is my firm belief that it is a mistake to hold firm beliefs.


-- 
________________________________________________________
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]
Latest Vers: 1.53d

Reply via email to