tracker issue : CF-3972721

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

getHeaderOnly() with IMAP takes a very long time when messages have attachments

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Phil Cruz / Phil Cruz (Phil Cruz)

Created: 04/20/2015

Components: Net Protocols, IMAP

Versions: 10.0

Failure Type: Performance Issue

Found In Build/Fixed In Build: Final /

Priority/Frequency: Normal / Some users will encounter

Locale/System: English / Win 2008 Server R2 64 bit

Vote Count: 0

Listed in the version 2016.0.0.297996 Issues Fixed doc
Verification notes: verified_fixed on September 02, 2019 using build 2016.0.01.298513
Problem Description:

getHeaderOnly() with IMAP takes a very long time when messages have attachments

Steps to Reproduce:

Send emails with large attachments (15MB or greater) to an email account. Run the following code:

iMapObj = new imap(); 
iMapObj.setAttributes(server="imap.gmail.com",username=supportEmail, password=popMailPassword,secure="yes", connection="imapConnection"); 
iMapObj.open(); 
qryMailHeaders = iMapObj.getHeaderOnly(connection = "imapConnection");
iMapObj.close(connection="imapConnection");

Actual Result:

The request takes several minutes, like 4+, to complete.

Expected Result:

The request should take a few seconds, like less than 10. 

Any Workarounds:

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

Watson Bug ID:	3972721

External Customer Info:
External Company:  
External Customer Name: Phil
External Customer Email:  
External Test Config: Found on ColdFusion 10 update 16, Windows

Does not occur on ColdFusion 10 update 13.

Attachments:

Comments:

Were you able to get a packet dump to see if the delay is at the Google or ColdFusion ends ?
Comment by External U.
7755 | April 30, 2015 09:16:22 AM GMT
No. But we didn't have a problem getting mail until we updated to U16. If you run that test code against the same Google acccount, U16 takes a very long time but U13 doesn't. That tells me it's a CF issue. I'm guessing there was some change where CF is downloading the attachment(s) even though it shouldn't since it should "getHeaderOnly".
Comment by External U.
7756 | April 30, 2015 09:29:13 AM GMT
Looks like it is broken after Update 13, we will get this fixed in the subsequent updates.
Comment by HariKrishna K.
7757 | May 15, 2015 05:00:54 AM GMT
Can we get a patch for this?
Comment by External U.
7758 | July 07, 2015 09:48:38 AM GMT
Why is this closed fixed, but no 'fixed in build' ?
Comment by External U.
7759 | November 05, 2015 03:37:08 AM GMT
This bug is not listed as fixed in the recent ColdFusion 11 update 7 (https://helpx.adobe.com/coldfusion/kb/bugs-fixed-in-coldfusion-11-update-7.html) Is this really not fixed in CF11?
Comment by External U.
7760 | November 17, 2015 07:36:17 PM GMT
This will be available as part of the next update, if you need the fix immediately reach out to cfinstal@adobe.com for the patch.
Comment by HariKrishna K.
7761 | November 17, 2015 09:29:13 PM GMT
Hi Adobe, I've verified this is fixed in CF2016 Update 1 (build 2016.0.01.298513). Thanks!, -Aaron
Comment by Aaron N.
31261 | September 02, 2019 08:19:30 AM GMT