Hello tbtech,

1. I'm using two QT macros[1] to "adjust" the sender's address.
Unfortunately they do not work as intended when there is more than
just one recipient. This is because most To-macros only return the
first recipient.

Is it possible to do looping (maybe recursively) in macros to do
something like?:
FOR each %TONAME in %TOLIST
DO %QINCLUDE="FIXTO" END


2. I'm "fixing" the quoted part of a message with a QT[2] so that the
"Original Message" in fullquotes is omitted. I have to do an IF branch
to avoid nullquotes if there is no "Original Message" at all.

This is rather "unstylish" because the regex is in fact evaluated
twice. Is there a way to include the IF in the regex, meaning: if
there is a match, return the part in front of "Original Message",
otherwise return the full text?


Thorsten

-- 
[1]
[ FIXTO ]
%IF:"%TOADDR"<>""%-
:"%TO=''%-
%TO='%QINCLUDE=""FIXTONAME"" <%LOWER=""%TOADDR"">'"

[ FIXTONAME ]
%ABTONAME="%-
%IF:'%TONAME'='%TOADDR'%-
:'%IF:""%SETPATTREGEXP=''[._].*@''%REGEXPMATCH=''%TOADDR''""<>""""%-
:""%UCFIRST=''%TOFNAME'' %UCFIRST=''%TOLNAME''""%-
:""%TOLNAME""'%-
:'%TONAME'"

[2]
[ FIXQUOTES ]
%IF:"%SETPATTREGEXP='\n(>|> )?-+ ?(Original Message|Urspr�ngliche Nachricht) ?-+'%-
%REGEXPBLINDMATCH='%TEXT'%SUBPATT='2'"=""%-
:"%QUOTES"%-
:"%REGEXPQUOTES='(?U)(.*)\n(>|> )?-+ ?(Original Message|Urspr�ngliche Nachricht) ?-+'"


______________________________________________________
Archives   : http://tbtech.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to