Hi All,

I have an account that multiple email addresses route into.  When I
reply to a message in that account I want the From address of the
reply to be the address the original email was sent to, which is not
necessarily the account's default address.  I use the following reply
template:

-------- Begin Template
%SETPATTREGEXP="(?i)[EMAIL PROTECTED]"%-
%_TO_ADDR=%REGEXPMATCH="'%OTOLIST, %OCCLIST'"%-
%IF:%_TO_ADDR<>"":"%FROM=''%FROM='%_TO_ADDR'":""%-
Hi %OFromFName,

%CURSOR%-
%QUOTES%-

<signature>
-------- End Template

It appears that the recipient list of the reply is being calculated
before the From address change.  For example, assume the account's
default address is "[EMAIL PROTECTED]" and I get an email:

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]

If I do a reply to all, the From field of the reply will be correctly
set to "[EMAIL PROTECTED]" instead of "[EMAIL PROTECTED]".  However,
the CC field will also contain "[EMAIL PROTECTED]".  Had the default
address been in the CC field, it would have been stripped from the
reply.

My questions are:

Is there a way I can have TB! automatically remove the new contents of
the From field instead of the default?

Is there a better/easier way to go about this?

If you made it this far, thanks.  It's about as coherent as I could
make it.

-- 
George

Using TB! 2.01.7 on Windows XP Pro 5.1, Build 2600, Service Pack 1.


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

Reply via email to