tracker issue : CF-3840297

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

CFPop truncates attachment file names when the file name is large

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Jake Munson / Jake Munson (Jake Munson)

Created: 10/16/2014

Components: Net Protocols, POP

Versions: 10.0

Failure Type: Data Corruption

Found In Build/Fixed In Build: Final /

Priority/Frequency: Major / Few users will encounter

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

Vote Count: 0

Problem Description: When a user sends an email message that contains an attachment with a large file name, cfpop truncates the file name. You lose the file extension in the process.

Steps to Reproduce: Send an email to a test email server, and attach a test file with a large file name (greater than 33 characters). Use CFPop to extract the email from the mail server, and check the file name in the attachment folder. If you send the same message to an end user mail box (retrieved with Exchange, Gmail, etc.) the attachment file name is not truncated.

Actual Result: The file name is truncated to 33 characters.

Expected Result: The file name is left intact, as the user attached it to their message.

Any Workarounds: None

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

Watson Bug ID:	3840297

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

ColdFusion 10

Windows Server 2008

Microsoft Exchange mail server

Email was sent using Microsoft Outlook 2007.



Can you please take latest update(ColdFusion 10 Update 14), and verify, this is fixed in the update.
Comment by HariKrishna K.
10611 | October 27, 2014 05:20:05 AM GMT
Hi Hari, I've verified this works properly in CF10 Update 14 and CF11 Final, using the following code: <cfmail server="" from="" to="" subject="testing CF-3840297"> <cfmailparam file="abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz.txt" content="foo" /> </cfmail> <cfpop action="getall" server="" username="" password="password" name="q" attachmentpath="#expandPath('./')#" generateuniquefilenames="no" /> Attachment folder then contains: abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz.txt Thanks!, -Aaron
Comment by External U.
10612 | November 25, 2014 02:43:36 AM GMT