Hello Jonathan,

On Friday, May 31, 2002 at 7:14:08 PM you wrote (at least in part):

JA> %ACCOUNT="accountname"
JA> %FROM=""%FROM="Myalias <[EMAIL PROTECTED]>"
[...]
JA> Now if I don't include the %ACCOUNT macro, this works fine, and sets
JA> the %FromAddr = [EMAIL PROTECTED] just as I wanted... but if I use the
JA> %ACCOUNT macro, it puts in the accounts From Address instead.

It's an old issue ... %ACCOUNT _always_ take precedence before and
%FROM macro, when used at the same time (not even required to be in
the same macro, it overwrites even if you include one of them or both
from QT(s)).

It seems templates in general are not strictly parsed and evaluated
'line by line, char by char', but as if '%ACCOUNT' (and some few other
IIRC) set a property which applied to the result of evaluating after
everything is done ...

Call them 'global macros' or whatever :-)

Another thing I wish being avoided in v2 :-)
-- 
Regards
Peter Palmreuther                            mailto:[EMAIL PROTECTED]
(The Bat! v1.60m on Windows 2000 5.0 Build 2195 Service Pack 1)

If at first you don't succeed, try following the instructions.


________________________________________________________
Current Ver: 1.60m
FAQ        : http://faq.thebat.dutaint.com 
Unsubscribe: mailto:[EMAIL PROTECTED]
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Bug Reports: https://bt.ritlabs.com

Reply via email to