[pmmail-list] How can I filter for *missing* header field(s)?

James Moe pmmail-list@blueprintsoftwareworks.com
Sat, 27 Mar 2004 17:12:48 -0700


Carl Gehr wrote:
> I am trying to filter out all of the garbage that arrives with:
> 
> * No FROM
> * No TO
> * No SUBJECT
> 
> ...fields in the header.
> 
> I have tried to select with:
> 
> h.From="" &
> h.To="" &
> h.Subject=""
> 
> ...but it never matches.
> 
   Try
!(h = "From: " | h = "To: " | h = "Subject: ")

-- 
jimoe at sohnen-moe dot com
- pmmail-list - The PMMail Discussion List ---------------------------
To POST to the list, send your message to:
pmmail-list@blueprintsoftwareworks.com

To UNSUBSCRIBE, send a message to mdaemon@bmtmicro.com 
with the first line of the message body being...
UNSUBSCRIBE pmmail-list@blueprintsoftwareworks.com
---------------------------------------------------------------------