Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Highlight mail to YOU' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Highlight mail to YOU
Authored by: eaganj on Sep 20, '02 09:52:05AM

I've been trying to add rules to coax mail into highlighting in red mail that is addressed solely to me and in orange mail that is addressed to me (explicitly) as well as others.

I haven't quite achieved that goal, but I have something that's kind of close:

Rule name: Explicit Recipient
If any :
Cc contains <my-email-address>
Cc contains <another-of-my-email-addresses>
Set Color of background orange


Rule name: Sole recipient
If all :
To contains <my-email-address>
Set Color of background red


The problem with this approach is that you can't add negations to the rules, so I can't define a rule that checks if To contains <my-email-address> and NO recipient does not contain <my-email-address>. Additionally, that Sole recipient rule can't check that To is equal to <my-email-address> because the matching algorithm is too strict (James Eagan <my-email-address> is not that same as <my-email-address>).

I've tried adding a rule:

Rule name: Stop processing
If all :
Any recipient does not contain <my-email-address>
Stop evaluating rules

between the two rules above, but it seems this rule doesn't behave as I expect it to. Oh well. The two rules above do a close enough job. Here's a <a href="http://www.cc.gatech.edu/~eaganj/mail-screenshot.pdf">screenshot</a>.



[ Reply to This | # ]