In theory a body test on that should work.  A rawbody test will fail.
Unfortunately, I've discovered that 'body' is not at all what you think it
is, like the text body of the message.  Instead it seems to be broken up
somewhat arbitrarily, but seemingly along the line of one 'body'
more-or-less per paragraph in an html body.

I have no idea why 'body' doesn't produce the entire text body in a single
string.  I suppose there must be a reason for it.  It certainly makes it
difficult to write useful rules that depend on N occurances of something in
the body of the message, when the body will be presented as 5 or 6 different
disjoint pieces to the rule.

        Loren

----- Original Message ----- 
From: "Mark London" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 24, 2004 12:33 PM
Subject: Can tests span empty lines?


> Is it possible to create a test that will span empty lines?   I.e. if I
want to
> test for the word "foo" followed by the word "bar", but the words are
separated
> by an empty line, is it possible to do?  Nothing I've tried works,
although I'm
> a relative novice at this game.  Thanks.
>
>

Reply via email to