Hello Graham,
An archeological dig discovered that on Tuesday, September 11, 2001 at
09:36 GMT +0100, Graham Foster [GF] typed the following:
GF> Hopefully a simple question as my first posting to this list.
Welcome.
GF> I want to be able to automatically append different signatures to
GF> messages depending on their destination. I don't want to have to keep
GF> updating my address book to do it.
GF> The rules would be
GF> -) If the TO: recipient contained 'merck.com' then it would be viewed
GF> as an internal e-mail, and include a basic text sig
GF> -) else.. attach my vCard
Use templates (Account -> Properties -> Templates) to do the task. You
can add a %IF macro. Use the part between the <Template></template>
tags:
<Template>
%IF='%-
%SETPATTREGEXP="merck.com"%REGEXPMATCH="%TOADDR"'='merck.com':'%-
%INCLUDE="<path>\merck_sig.txt"':'%-
%ATTACHFILE="<path>\myVCard.VCF"'
</Template>
You'll have to put in the correct path and file names for your VCard
and sig file.
GF> Ideally, I'd like to be able to EXCLUDE any sig at all from mailing
GF> list postings.. but I haven't a clue how to do this. A "mailing list"
GF> property on folders would a useful addition I suppose.
Your best bet is to create an address book group for mailing lists.
You can then create group templates specifically for mailing lists.
Now, just make a contact in that group for each of your mailing lists.
The system works well and is much less error prone than folder
templates.
I'd give you a run down on the problems of folder level templates, but
there is already a great explanation in the
FAQ: <http://faq.thebat.dutaint.com> under
Templates: <http://www.silverstones.com/thebat/templates.html>
--
Thanks for writing,
Januk Aggarwal
Using The Bat! 1.54 Beta/8 under Windows 98 4.10 Build 2222 A
I have an imaginary friend who refuses to play with me.
--
______________________________________________________
Archives : http://tbtech.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]