Message subject filters

The <SUBJECTS></SUBJECTS> message attribute enables you to match messages on the subject text of the message. Within a <SUBJECTS> attribute, values to match can be defined as follows:

Matching against attribute values is case-insensitive. Wildcards cannot be used.

In the following example, messages that have a subject of exactly "Welcome New Employee" or starts with "Salary Summary for" or ends with "Message Notification" will be moved to the wastebasket without being archived:

<RULE NAME="Delete" ACTION="MOVE_DELETED_ITEMS">
   <SUBJECTS>
	 <SUBJ MATCH="EXACT">Welcome New Employee</SUBJ>
	 <SUBJ MATCH="STARTS">Salary Summary for</SUBJ>
	 <SUBJ MATCH="ENDS">Message Notification</SUBJ>
   </SUBJECTS>
</RULE>

The INCLUDES="NONE" operator can be used to match messages with a subject that does not include particular strings. For example, the following rule will match messages that do not have any of the specified values in the message subject:

<RULE ... >
   <SUBJECTS INCLUDES="NONE">
	 <SUBJ MATCH="EXACT">Welcome New Employee</SUBJ>
	 <SUBJ MATCH="STARTS">Salary Summary for</SUBJ>
	 <SUBJ MATCH="ENDS">Message Notification</SUBJ>
   </SUBJECTS>
</RULE>