tracker issue : CF-3989857

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

cfimap fails to find image names in "attachment" field

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/CannotReproduce

Reporter/Name(from Bugbase): colin macallister / colin macallister (colin macallister)

Created: 05/18/2015

Components: Net Protocols, IMAP

Versions: 11.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Normal / Most users will encounter

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

Vote Count: 1

Problem Description: When using cfimap to lookup up messages, it does not return attachment names for images, even while it does return their filepaths.

Steps to Reproduce: Use cfimap to access an account that contains emails with image attachments (specifically PNG, but I think it was happening with other images, too). Dump the resulting object. 

Actual Result: The attachment file path field (I forget its name) has a list of all attachment file paths, but the "attachment" field has only non-image file names.

Expected Result: The attachment field should have a list of all attachment names.

Any Workarounds: Ignore the "attachment" field and parse the file name from the attachment file path field with a regex like "(\\.*$)"

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

Watson Bug ID:	3989857

External Customer Info:
External Company:  
External Customer Name: colin
External Customer Email:  
External Test Config: Win2k8 Server Standard within VMWare VM, and also installed directly to a physical HP box. CF11 Update 5. Updates 0-3 didn't have this bug. CFIMAP hitting HMailServer (free).

Attachments:

Comments:

Hi Colin, I have tried the scenario, that you mentioned with CF11 HF 5, and i was able to download the attachment. Please find the screenshot attached.
Comment by HariKrishna K.
7392 | May 20, 2015 03:21:57 AM GMT
The problem isn't with downloading the attachment, it is that the attachment name doesn't appear in the "attachment" field when you dump the contents of the result of an imap call.
Comment by External U.
7393 | May 20, 2015 10:12:01 AM GMT
If you check the attachment dump.jpg(attached with the bug), the "attachments" field shows the attachment of that mail.
Comment by HariKrishna K.
7394 | May 21, 2015 01:53:47 AM GMT
It happened to me using a png file. Can you try that?
Comment by External U.
7395 | May 21, 2015 11:39:36 AM GMT
The screenshot attached has the attachmentfiles showing "test.png" as the attachment. May be the mail server that you are using has some filters to strip images. Can you please check that?
Comment by HariKrishna K.
7396 | July 08, 2015 09:12:47 PM GMT
We use cfimap and this bug will impact us.
Vote by External U.
7398 | July 20, 2015 03:17:27 PM GMT
I have tried this with png image, as you can see this in the file attached by me in this bug. The attachments column shows the png image and if you have inline images in the email, it cids column will have the info of inline attachment name along with its content id. Marking this bug as cannot reproduce. Please revert if you have any concerns or have a repro case at your end. We can re-open this bug.
Comment by HariKrishna K.
7397 | September 25, 2015 05:53:47 AM GMT