Pages: 1
RSS
How to Delete a CC: When Certain Conditions Apply?
 
I have a folder whose reply template includes a CC: macro. Occasionally, I receive a message from the same person as the CC: macro and thus when I reply to that message the TO: and the CC: have the same address.

For example, my "Admin" folder's reply template includes this macro:
%CC="Shawn <*****@gmail.com>"  

Occasionally I receive messages from "Shawn" and they are appropriately filtered into the "Admin" folder. But, when I reply to "Shawn's" message, I have identical TO: and CC: addresses.  

Is it possible to automatically eliminate this situation?

Thanks,

Ron
 
Two options come to mind.
1) Create addres book templates for Shawn, as address book templates have preference over folder templates, the address book template will be used.
2) Use an %If macro, something like this:
%If:"%ToAddr"="*****@gmail.com":"%CC=''":"%CC='*****@gmail.com'"%-
This macro will test whether Shawn's address is listed as first address in the To header and if that's the case it'll use an empty CC header if not then an address will be used in the CC header.
__________________________________
I'm just a user of The Bat! I don't work for Ritlabs.
 
Roelof, your suggestion is great. I already put it in place!!

Thanks a bunch!!!!!

Ron
Pages: 1