MailEnable Enterprise Guide
Basic Script Example

An example script for an advanced filter is outlined below:

Script Example
Copy Code
FilterResult=0
If Hour(Now) > 10 Then
     If [ME_SIZE] > 1024 OR CriteriaMet([ME_BODY],"*123*") AND _
          CriteriaMet([ME_SUBJECT],"*123*") Then
          FilterResult=1
     End If
End If

This example script will have its criteria met under the following circumstances. If it is after the 10th hour of the day and the size of the message is greater than 1KB Or the Body of the message contains the string 123.

 

 


© MailEnable Pty. Ltd. All Rights Reserved.