Hello Greg,

Thursday, January 27, 2005, 10:38:28 PM, Greg Strong wrote:

>> Try this:

>>     Header field From contains [EMAIL PROTECTED]
>>     AND Header field To contains [EMAIL PROTECTED]
>>     AND Header field From does not match [,;]
>>     AND Header field To does not match [,;]
>>     AND Header does not match ^cc:

...<snip>

>> Note, in case you're not familiar with RegEx, the [,;]
>> pattern looks for any comma or semi colon in the field.
>> This FS won't work if you or your assistant have those
>> characters in their names.  The last condition rejects
>> when any header line starts with cc: (case doesn't
>> matter in the current release).

> Either I'm doing something wrong, or the filter doesn't work under test.
> Here is a copy & paste of my test filter which is based upon above:

...<snip> out old filer which *I* made a *mistake*, because I continued
filtering with other filters and one below it messed up the results.

I have a copy & paste of the new filter which *worked*, but had the
'From' condition which I question.

$$$$ TB! Message Filter $$$$
beginFilter
UID: [35CBF4D2.01C504D5.0FDD25AE.7C37F86A]
Name: Test
Filter: [EMAIL 
PROTECTED]@Domain_1.com\0D\0A0`7`From`3`[,;]\0D\0A0`7`To`3`[,;]\0D\0A0`5`3`^cc:\0D\0A}
MoveMessage folder \5C\5CGreg\5CPersonal
IsActive
Ignore
endFilter


Bill, why did you need the condition below?

>>     AND Header field From does not match [,;]

Seems to me you are looking for more than 1 address in the 'From'
header, or am I missing something here. Anyway I removed the condition I
questioned and the filter seemed to work.  I copied it below:


$$$$ TB! Message Filter $$$$
beginFilter
UID: [35CBF4D2.01C504D5.0FDD25AE.7C37F86A]
Name: Test
Filter: [EMAIL PROTECTED]@gwstrong.com\0D\0A0`7`To`3`[,;]\0D\0A0`5`3`^cc:\0D\0A}
MoveMessage folder \5C\5CGreg\5CPersonal
IsActive
Ignore
endFilter


I don't know if this is going to help Jeanny because she is using v2.
Maybe she'll upgrade.  :-)

-- 
Best Regards,
Greg Strong 

Using The Bat! v3.0.2.10 on Windows XP 5.1 Build 2600 Service Pack 2



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

Reply via email to