Whatever message this page gives is out now! Go check it out!
<cfimapfilter
name = "filter type"
value = "filter value">
OR
<cfimapfilter
name = "filter type"
from = "date/time"
to = "date/time">Attribute | Req/Opt | Default | Description | |||||||||||||||||||||||||||||||||||||||||||||||||
name | Required | The type of filter to use. The supported filters in ColdFusion are:
| ||||||||||||||||||||||||||||||||||||||||||||||||||
from | Optional | The start date or date/time combination of the range to use for filtering. Cannot be used with the value attribute. If you specify a from attribute without a to attribute, the filter selects for all entries on or after the specified date or time. The value can be in any date/time format recognized by ColdFusion, but must correspond to a value that is appropriate for the filter type. | ||||||||||||||||||||||||||||||||||||||||||||||||||
to | Optional | The end date or date/time combination for the range used for filtering. Cannot be used with the value attribute. If you specify a to attribute without a from attribute, the filter selects for all entries on or before the specified date or time. The value can be in any date/time format recognized by ColdFusion, but must correspond to a value that is appropriate for the filter type. | ||||||||||||||||||||||||||||||||||||||||||||||||||
value | Optional | The filter value for all filters that do not take a date or time range. Cannot be used with the from and to attributes.ColdFusion generates an error if you specify this attribute with empty contents. Therefore, you cannot use the empty string to search for empty values. If you set this attribute to the empty string ("" ), ColdFusion searches for entries where the specified field is empty. |
<cfimap action="getall"
connection = "imapConnection"
name = "emailTable"
>
<cfimapfilter name="subject" value="meeting">
</cfimap>