Re: macro to change from: field dynamically to original messages to:field

2002-12-26 Thread Januk Aggarwal
Hello Victor,

On Thursday, December 26, 2002 at 07:10 GMT -0500, legend has it that
Victor B. Gonzalez recited the incantation:

MDP>> Yes - change your reply template. Just add this line to any reply
MDP>> template you need to give this ability to:

MDP>> %from='"%OTONAME" <%OTOADDR>'%-

> I've learned two things today. What I asked for and a bonus
> of "%OTONAME" thanks to you Marck.

There is one potential problem with the template as written.  If you
use this template when replying to a message where you are not the
first recipient listed, your reply might look like it came from
someone else.

This is easy to fix with a bit of regular expression trickery, though
the exact solution could depend on how your mail servers are setup.
Probably the easiest is something like:

%From='"Victor B. Gonzalez" <%-
%SetPattRegExp="(?i)(%-
[EMAIL PROTECTED]|[EMAIL PROTECTED]%-
)"%RegExpMatch="%OToList %OCcList">'

I've just formatted the above so it is a bit easier to read and edit
your addresses.  You can choose from as many addresses you want, just
add them before the %- at the end of the line.  Remember to separate
each address with a pipe symbol (|).

Note that for now I hard coded your name into the macro above.  For
the more general case, finding your name in the original message isn't
trivial since there could be unknown variations.

-- 
Thanks for writing,
 Januk Aggarwal

If you've ever noticed, the average traffic cone queue stretches for
miles, and the poor things often wait for hours without progressing 
anywhere. Traffic cones have rights, just like people.



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



Re: macro to change from: field dynamically to original messages to:field

2002-12-26 Thread Marck D Pearlstone
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Victor,

@26-Dec-2002, 05:57 -0500 (10:57 UK time) Victor B. Gonzalez said:

>   Is there any way to dynamically change my from address to match
>   the original messages to: field when I hit reply?

Yes - change your reply template. Just add this line to any reply
template you need to give this ability to:

%from='"Victor B. Gonzalez" <%OTOADDR>'%-

Or maybe you want to be addressed by name as they addressed you? In
which case use this instead:

%from='"%OTONAME" <%OTOADDR>'%-

- --
Cheers -- .\\arck D Pearlstone -- List moderator
TB! v1.62 Christmas Edition on Windows 2000 5.0.2195 Service Pack 2
'
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1rc1-nr1 (Windows 2000)

iD8DBQE+Cu/oOeQkq5KdzaARAufKAKDrSgVQusEm5znTvYG1AJ0FOi6fPQCeKun4
tVfWDfZuc3s84qlUF+vCOLs=
=0Dxg
-END PGP SIGNATURE-




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



Re: macro to change from: field dynamically to original messages to:field

2002-12-26 Thread Dierk Haasis
Hello Victor!

On Thursday, December 26, 2002 at 11:57:51 AM you wrote:

>   Is there any way to dynamically change my from address to
>   match the original messages to: field when I hit reply?

You can set up reply addresses accordingly; this will work with posts
from recipients you already know.




-- 
Dierk Haasis

The Bat 1.62 Christmas Edition on Windows XP 5.1 2600Service Pack 1

You can't talk to a man with a shotgun in his hand. (Carole King)



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



macro to change from: field dynamically to original messages to:field

2002-12-26 Thread Victor B. Gonzalez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello ,

  I receive mail at different addresses and when I hit reply
  I usually have to manually change my from: address to match
  the original messages to: address.

  My default account is default but I get mail sent to
  alternate. Is there a way for when someone sends mail to
  my alternate address and I hit reply, my from field
  changes automatically to alternate?
  
  Is there any way to dynamically change my from address to
  match the original messages to: field when I hit reply?
  
  Thank you for any information on this.

- -- 
Best regards,
 Victor B. Gonzalez  
 [EMAIL PROTECTED]

Using The Bat! v1.62 Christmas Edition
Windows XP 5.1 Build 2600 Service Pack 1

-BEGIN PGP SIGNATURE-
Comment: Request My PGP Public Keys - [EMAIL PROTECTED]

iQA/AwUBPgrgp13LB35+TCg0EQLpGACggTOKDG0Q9RCCcxUL+U0gDvxNCcUAnAhD
c65tCRCJIkh+9t8OHDhPaiBf
=GhDY
-END PGP SIGNATURE-



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