-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday, March 10, 2003, Januk Aggarwal wrote...

JA>> I don't want the email to always CC itself to everybody but me...
JA>> I only want that to happen on certain events, like when I hit
JA>> reply-to-all.

JA>> Okay so I think I can probably get away with replacing %OTOLIST
JA>> and %OCCLIST with %TOLIST, and %CCLIST... Logical assumption for
JA>> me... I was wrong. It doesn't work at all... nothing gets changed.
JA>> So what's wrong with it? Or is there any easier safer way?

> What about looking for multiple addresses in the %TOLIST and %CCLIST?

There would be multiple addresses in the %TOLIST/%CCLIST if I hit
reply-to-all... :)

> Just a guess, but maybe something like:

> %IF:_%SetPattRegExp="@.*@"%RegExpMatch="%TOLIST%CCLIST"_<>__:_%-
> %CC=''%TO=''%TO='%SETPATTREGEXP=''^(.*?)[,;]?\s*$''%-
> %REGEXPMATCH=''%-
> %SETPATTREGEXP="^(.*?[,;]?)([^,;]*%-
> ([EMAIL PROTECTED]|[EMAIL PROTECTED])?%-
> [^,;]*[,;]?)(.*)$"%-
> %REGEXPBLINDMATCH="%OTOLIST, %OCCLIST"%-
> %SUBPATT="1"%SUBPATT="4"'''_

Oh, I think I see where you're going... check to see if there are
multiples, then reclean the address list... will give that a test.

- --
Jonathan Angliss
([EMAIL PROTECTED])

-----BEGIN PGP SIGNATURE-----
Comment: Fingerprint: 676A 1701 665B E343 E393  B8D2 2B83 E814 F8FD 1F73

iQA/AwUBPmxixiuD6BT4/R9zEQJvcwCgsIhLrrUy+X4oexgIU+usy0U9YJMAn3SM
ynZNecekvrAnciS+C9Kxahpc
=fTLu
-----END PGP SIGNATURE-----


________________________________________________________
 Current version is 1.61 | "Using TBTECH" information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to