Re: Reply-to-All ignoring myself

2003-03-10 Thread Januk Aggarwal
Hello Jonathan,

On Monday, March 10, 2003 at 04:02 GMT -0600, Jonathan Angliss [JA]
pressed random keys until the following was produced:

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

Exactly.  And even if there weren't, you wouldn't need to run the
clean up routine anyway.

JA> Oh, I think I see where you're going... check to see if there are
JA> multiples, then reclean the address list...

Yep.  That's the idea.

JA> will give that a test.

Good luck.

-- 
Thanks for writing,
 Januk Aggarwal





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


Re: Reply-to-All ignoring myself

2003-03-10 Thread Jonathan Angliss
-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


Re: Reply-to-All ignoring myself

2003-03-10 Thread Januk Aggarwal
Hello Jonathan,

On Sunday, March 9, 2003 at 17:16 GMT -0600, authorities charged
Jonathan Angliss [JA] for writing:

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?

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"'''_

Note this is not tested...

-- 
Thanks for writing,
 Januk Aggarwal




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


Reply-to-All ignoring myself

2003-03-09 Thread Jonathan Angliss
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

  I am playing with a QT at the moment, not sure where to start... so
  I thought I'd look at the macros on the FAQ page, and got a sample
  from there. The basics of it are, I want a QT that will strip my
  email address out of the %TOLIST, or %CCLIST when I hit
  reply-to-all.  The template on the website I saw was this one...

%TO='%SETPATTREGEXP=''^(.*?)[,;]?\s*$''%-
%REGEXPMATCH=''%-
%SETPATTREGEXP="^(.*?[,;]?)([^,;]*%-
([EMAIL PROTECTED]|[EMAIL PROTECTED])%-
[^,;]*[,;]?)(.*)$"%-
%REGEXPBLINDMATCH="%OTOLIST, %OCCLIST"%-
%SUBPATT="1"%SUBPATT="4"'''

  Okay... I think I basically understand how this works. It searches
  through the %OTOLIST, and %OCCLIST, ignoring your own addresses
  (listed in the () ), and sets it into the %TO field. Not too
  complex, and does almost what I want. I don't want the email to
  always CC itself to everybody but me... I only want that to happen
  on certain events, like when I hit reply-to-all.

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

- --
Jonathan Angliss
([EMAIL PROTECTED])

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

iQA/AwUBPmvLWiuD6BT4/R9zEQIMmACg3C530OvmpZ+71H0L4e3qoUp9zuIAn0iq
t583OXQOzcSfGe2rHRL27hle
=KG8M
-END PGP SIGNATURE-



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