Hello Tim,
On Saturday, September 23, 2000 at 10:12:00 GMT +0200 (which was 1:12 AM
where I live) witnesses say Tim Green typed:
> I'm just testing The Bat! and with the exception of this problem it seems
> to be the best mail client I've ever tested. The trouble is, if I can't
> solve this I won't be able to use it... ;((
Well, you've come to the right place to find answers. :) Welcome.
> Problem:
> ========
> The Bat! doesn't seem to filter on individual header fields. So when you
> set a filter for "Recipient" it polls both the To: and the Cc: fields.
That is correct. But there is a work around. Actually there are two
possible solutions.
> The trouble is, all my messages to and from the workgroup always
> include CCs to the three administrators who are members of the
> group. This is a company policy requirement and I can't change it.
So before I present the solutions, the first question to ask is, are
there multiple addressees in the To: field, or do you always use the
CC: field for extras? If it is the latter the solution is easier. If
it is the former, things get slightly more complicated.
If the To line always has a unique addressee, then the thing to do is
create a filter with the search string:
String Location Presence
To: [EMAIL PROTECTED] Kludges Yes
Here what you're doing is forcing TB to search for the To line
manually in all the headers (Kludges). Unfortunately, the headers
must contain a series of characters that matches the filter string
*exactly*. Chances are this will fail some of the time.
Now if you find that there are multiple addressees in your To: field,
or that it is too variable to be dealt with by such a simple filter,
you may want to explore Regular Expressions. In this case, enable
regular expressions in the filter and change the filter string to:
(?mi)^To:.*[EMAIL PROTECTED]
So what does all this mean?
(?mi) - m means we are enabling multi-line mode so that every line of
the message is treated like a separate string.
i means that we want a case insensitive search.
^To: - ^ is the beginning of a line character. So we want To: to be
at the beginning of a new line. This prevents us from
getting a subject line like "To: [EMAIL PROTECTED]"
triggering the filter. Note that you can change the
To: to whatever field it is you want to search for. So you
could change it to From and find all mail with the From field
containing [EMAIL PROTECTED] Hit the Ctrl-Shift-K key
combo to see examples of headers that you might want to
filter on.
.* - We are searching for any number of characters, could be white
space and/or other e-mail addresses or the person's name
[EMAIL PROTECTED] - Just enter the e-mail address that you're
searching for here. Of course you could replace
this with any string you want. You could put a
partial address or the person's name. With this
particular filter string, you have lots of
freedom.
For more information on Regular Expressions, check out the help file
under the contents tab. I don't think you can get to this section
through the index.
Happy filtering.
--
Thanks for writing,
Januk Aggarwal
See header for e-mail address
Using The Bat! 1.47 Beta/3
under Windows 98 4.10 Build 2222 A
--
--------------------------------------------------------------
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
<mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
<mailto:[EMAIL PROTECTED]>
--------------------------------------------------------------
You are subscribed as : [email protected]