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

On Saturday, January 11, 2003, Victor B. Gonzalez wrote...

>>>> %FROM="%FROMNAME <%OTOADDR>"Hello %OFromFName,

JA>>>   What happens if you are in the CC field?

RO>> Yep. It would place the original first recipient in the
RO>> From-header. Also when you're in the To-header, but not as first
RO>> addressee, the macro won't produce the wanted results.

> I am though of course open to a macro which is better at figuring
> out, bcc and cc if possible :)

%IF might be of some help for you then.  I'm not 100% sure on how they
work, as I don't write them myself... I should learn as I know I have
hundreds of needs for them.  But here is a semi-pseudo example that
I'm sure one of the more knowledged people can clean up ;)

%IF:"%OTOLIST"="[EMAIL PROTECTED]":%FROM="[EMAIL PROTECTED]":%-
"%IF:'%OCCLIST'='[EMAIL PROTECTED]':%FROM='[EMAIL PROTECTED]':%FROM='default@email
.tld'"%-

Repeat for however many accounts, stick in a QT, and set that QT in
the reply template. It's something like that anyway.. :)  The basic
gist of it is:

  if (your email addy appears in the original TO list) then
     %FROM = the email addy
  else
     if (your email addy appears in the original CC list) then
       %FROM = the email addy
     else
       %FROM = some default email addy
     end
  end

- --
Jonathan Angliss
([EMAIL PROTECTED])

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

iQA/AwUBPiCaDCuD6BT4/R9zEQKcVQCcDyd2ex6aAQFhvtI0lTc7RdIddVkAoI8w
0yowZlop6QluoTkiWyHlZxFt
=BGd3
-----END PGP SIGNATURE-----


________________________________________________
Current version is 1.62 | "Using TBUDL" information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to