Hello bats,

on Mon, 2. Feb 2004 at 20:42:09 +0000 Sharon Stiles wrote:

S> I have different names set up in my main account so I can keep
S> tabs on where things come from (eg admin@, maillist@ etc). I don't
S> want to set up separate accounts.  I change the address when I send
S> the message. However when I receive a reply to one of these
S> messages the address I use to reply automatically becomes the main
S> account name. Is there any way I can make the message default to
S> replying from the original address?

S> Eg a message sent to [EMAIL PROTECTED] automatically fills
S> in [EMAIL PROTECTED] when I reply to it. I want it to reply from
S> [EMAIL PROTECTED]

I have a quicktemplate for this, which looks like:
%SETPATTREGEXP='(adress1|adr2|adr3)@thequod.de'%-
%IF:[EMAIL PROTECTED]:phpnetgul:%-
[...]
%IF:[EMAIL PROTECTED]:tbudl:%-
%IF:[EMAIL PROTECTED]:tbbeta:%-
%IF:[EMAIL PROTECTED]:tbdev:%-
%IF:[EMAIL PROTECTED]:tbtech:%-
%IF:[EMAIL PROTECTED]:tbot:%-
%IF:[EMAIL PROTECTED]:tbdt:%-
%IF:[EMAIL PROTECTED]:suppe:%-
%IF:"%REGEXPBLINDMATCH=%FROMADDR%SUBPATT='1'"<>"":"%SUBPATT='1'":%-
%IF:[EMAIL PROTECTED]:mainAdr:"%SETPATTREGEXP='(.*)[EMAIL 
PROTECTED]'%REGEXPMATCH=%FromAddr"%-

For your needs this would be enough:

%SETPATTREGEXP='(admin|maillist)@myname.co.uk'%-
%IF:"%REGEXPBLINDMATCH=%OTOADDR%SUBPATT='1'"<>"":"%SUBPATT='1'":"default"%-

This checks for the pattern in the first line in the original
To:-address and if it matches (admin or maillist) this will be
outputted, otherwise "default" will be used.

This Quicktemplate can then be used to set your sending address:

%From="your name <%QInclude='#myFromAddr'@myname.co.uk>"%-

Another possibility would be to setup special identities for different
folders and do the replies from there (Folder/Properties/Identity).

btw: you have no wrapping in your lines.


-- 
shinE!
http://www.thequod.de ICQ#152282665
GnuPG/PGP key: http://thequod.de/danielhahler.asc

Using The Bat! v2.03 Beta/53 on Windows XP 5.1 Build 2600 Service Pack 1
with POPFile 0.20.1 and avast Jan2004 (4.1.342)


________________________________________________
Current version is 2.02.3 CE | "Using TBUDL" information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to