tracker issue : CF-4016861

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

Embedded Email Attachments Forwarded from Apple Mail iOS Clients Not Received by CFPOP

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Hadyn Cotton / Hadyn Cotton (Hadyn Cotton)

Created: 07/06/2015

Components: Net Protocols, MAIL

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: Final /

Priority/Frequency: Normal / Some users will encounter

Locale/System: English / Windows 7 SP1 64-bit

Vote Count: 1

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

When an email is forwarded from the Apple Mail client on iOS devices with an embedded attachment, the image file is not listed as an attachment when fetched by <cfpop>. However, the body of the message shows an <img src> tag with a "cid:" file indicating an embedded attachment is present and mail clients fetch the file and display it without issue.

Steps to Reproduce:

There may be other ways of creating this but the following method works reliably:
1. From Photos on an iOS device, email a photo to the account that will be accessed via <cfpop>.
2. From the Mail client on iOS, Forward the message that you just sent to the same account again (when prompted to "Include attachments from original message", choose "Include").
3. Run <cfpop> to fetch email for the account. The first message includes the image attachment as expected. The second message does not indicate that there are any attachments.

<cfpop action="getAll" server="serverIP" username="username" password="password" attachmentPath="attachmentPath" generateUniqueFilenames="true" name="messages">

Actual Result:

No attachments are listed in the ATTACHMENTFILES, ATTACHMENTS, or CID columns of the <cfpop> query result.

Expected Result:

<cfpop> should list the embedded image attachments. All other mail clients download the embedded attachments correctly.

Any Workarounds:

POPCFC ( is able to download the embedded attachments correctly via its "parseRawMessage()" function by fetching the messages directly via Java.

This issue has been documented previously in CF11 and CF9.0.1: [CannotReproduce] [NotEnoughTime]

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

Watson Bug ID:	4016861

External Customer Info:
External Company:  
External Customer Name: Hadyn
External Customer Email:  
External Test Config: Windows 7 64 bit (also happens on Windows server)

Exchange 2013



We lose embedded files regularly. Had to write our own mail parser to work around it but would prefer a fix
Vote by External U.
6784 | July 13, 2015 12:56:41 PM GMT
Verified the fix, added testcase at //depot/qa/cf/regression/newmanual/coldfusion/tags/internet-protocol/cfimap/bugs/CF-4016861.cfm //depot/qa/cf/regression/newmanual/coldfusion/tags/internet-protocol/cfimap/bugs/ReadMe.txt
Comment by HariKrishna K.
6783 | September 28, 2015 01:43:19 AM GMT
Hi Adobe, I've verified this is fixed in CF2016 Update 1 (build 2016.0.01.298513), for both cfimap and cfpop (same issue existed for both tags in CF11, but resolved for both in CF2016). Thanks!, -Aaron
Comment by Aaron N.
31257 | September 01, 2019 10:10:12 AM GMT