Title: 
  getHeaderOnly() with IMAP takes a very long time when messages have attachments
| View in TrackerStatus/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
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: