tracker issue : CF-3630470

select a category, or use search below
(searches all categories and all time range)
Title:

CFIMAP Flags - "SEEN", or "RECENT" or "SINCE" flags not supported

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Dave DeVol / Dave DeVol (Dave DeVol)

Created: 09/11/2013

Components: Net Protocols, IMAP

Versions: 10.0

Failure Type: Enhancement Request

Found In Build/Fixed In Build: Final / 287101

Priority/Frequency: Major / All users will encounter

Locale/System: English / Win 2008 Enterprise Svr

Vote Count: 0

Problem Description: CFIMAP does not allow for additional flags. I can get email from an IMAP account, but I have to get all the emails and can only limit by record count. If I try to use CFIMAP with my 220k emails at Gmail, it will never sync. There is no "SEEN", or "RECENT" or "SINCE" flags supported. It would be nice to at least have those.

Here are some possible flags to make CFIMAP useable:

?'ALL' - All messages.
?'ANSWERED' - Messages with the Answered flag set.
?'DELETED' - Messages with the Deleted flag set.
?'DRAFT' - Messages with the Draft flag set.
?'FLAGGED' - Messages with the Flagged flag set.
?'NEW' - Messages that have the Recent flag set but not the Seen flag.
?'SEEN' - Messages that have the Seen flag set.
?'RECENT' - Messages that have the Recent flag set.
?'OLD' - Messages that do not have the Recent flag set. This is functionally equivalent to "!RECENT" (as opposed to "!NEW").
?'UNANSWERED' - Messages that do not have the Answered flag set.
?'UNDELETED' - Messages that do not have the Deleted flag set.
?'UNDRAFT' - Messages that do not have the Draft flag set.
?'UNFLAGGED' - Messages that do not have the Flagged flag set.
?'UNSEEN' - Messages that do not have the Seen flag set.
? BEFORE' - Messages whose internal date (disregarding time and timezone) is earlier than the specified date.
?'ON' - Messages whose internal date (disregarding time and timezone) is within the specified date.
?'SINCE' - Messages whose internal date (disregarding time and timezone) is within or later than the specified date.
?'SENTBEFORE' - Messages whose Date header (disregarding time and timezone) is earlier than the specified date.
?'SENTON' - Messages whose Date header (disregarding time and timezone) is within the specified date.
?'SENTSINCE' - Messages whose Date header (disregarding time and timezone) is within or later than the specified date.


Steps to Reproduce:

Actual Result:

Expected Result:

Any Workarounds:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3630470

Deployment Phase:	Release Candidate

Keywords:
FixTested


External Customer Info:
External Company:  
External Customer Name: Neo Rye
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments:

Fix for this will be available in the next major release of ColdFusion.
Comment by Vamseekrishna N.
14527 | January 30, 2014 01:19:34 AM GMT
Vamseekrishna, according to this ticket, this was implemented in build 287101, which would be CF11, yes? (Adobe ColdFusion 11 (build 11,0,0,289822)). This would also fit in with the timing of your comment. How does it work? I see nothing in the docs about this?
Comment by External U.
14528 | January 10, 2015 11:15:36 AM GMT
Here is the doc link: https://wikidocs.adobe.com/wiki/display/coldfusionen/cfimapfilter
Comment by HariKrishna K.
14529 | January 12, 2015 06:19:22 AM GMT
OK, so it looks like you've not implemented ALL the flags listed above?
Comment by External U.
14530 | January 12, 2015 06:23:20 AM GMT
Hi Adam, Are you still waiting on an answer? =P I've confirmed it's just a doc bug. I've filed CF-4145519. DELETED,DRAFT,RECENT,NEW,OLD,UNFLAGGED flags work but are just undocumented. ALL doesn't work but isn't needed b/c that's the same as omitting any filtering. BEFORE,ON,SINCE,SENTBEFORE,SENTON,SENTSINCE don't work but can be achieved via the From and To attributes combined w/ Name attribute set to TimeReceived or TimeSent. Thanks!, -Aaron
Comment by External U.
14531 | April 27, 2016 12:22:20 AM GMT