tracker issue : CF-4103546

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

CFIMAP action GETALL breaks when getting a MAILER-DAEMON message

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/NotABug

Reporter/Name(from Bugbase): Sandra Rincon / Sandra Rincon (Sandra Rincon)

Created: 01/04/2016

Components: CFExchange

Versions: 10.0

Failure Type: Crash

Found In Build/Fixed In Build: Final /

Priority/Frequency: Critical / All users will encounter

Locale/System: English / Windows 7 64-bit

Vote Count: 1

Problem Description: When reading an inbox, with a MAILER-DAEMON message, cfimap crashes. It returns: The 3 parameter of the Mid function, which is now -1, must be a non-negative integer

Steps to Reproduce: Have cfimap read a message coming from MAILER-DAEMON.

Actual Result: An exception occurred while performing action GETALL in cfimap tag.The 3 parameter of the Mid function, which is now -1, must be a non-negative integer

Expected Result: Clean read, or non-failure so something can be done to the rest of the structure

Any Workarounds: none found

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

Watson Bug ID:	4103546

External Customer Info:
External Company:  
External Customer Name: Sandra Rincon
External Customer Email:  
External Test Config: Windows Exchange 2010 



Windows 8.1/ 8, Windows Server 2012

Attachments:

Comments:

assigning this to Hari, the feature owner.
Comment by Piyush K.
4959 | January 05, 2016 05:29:31 AM GMT
Hi Sandra, I have tried sending an email to a non-existent email address from gmail, and I received a mail from postmaster saying"problem in delivering email to user". Now I have tried accessing this account using cfimap action getall, and it works. Can you let me know, what is the scenario, that you have tried and add a reproducible snippet?
Comment by HariKrishna K.
4960 | January 08, 2016 11:00:46 AM GMT
Hi Hari, Did you try attaching a document to the email? Not sure if it's relevant but we're using Outlook. An example: From: MAILER-DAEMON Sent: Monday, January 11, 2016 11:46 AM To: xxxx@gmail.com Subject: Undeliverable: Shipping Confirmation ... Order 212 Delivery has failed to these recipients or groups: xxxx@gmail.com A problem occurred and this message couldn't be delivered. Check to be sure the e-mail address is correct. If the problem continues, please contact your helpdesk. Thanks!
Comment by External U.
4961 | January 11, 2016 02:06:42 PM GMT
Hi Sandra, I have tried it with attaching a pdf, and I still could not reproduce the issue. Can you let me know on which update of ColdFusion you are currently on? Can you also attach the raw message here to debug the issue further? Thanks!
Comment by HariKrishna K.
4962 | January 12, 2016 12:35:17 AM GMT
Closing this since we haven't heard back from the user. We can reopen the issue, if we have the requested info.
Comment by HariKrishna K.
4963 | July 07, 2016 01:21:58 AM GMT
I have the same issue with cfimap...As oosn as the mail has an attachment the action getAll crashes with error "An exception occurred while performing action GetAll in cfimap tag. The cause of this exception was: javax.mail.MessagingException: Unable to load BODYSTRUCTURE."
Vote by External U.
4965 | October 28, 2016 10:55:40 AM GMT
I have the same issue with cfimap...As soon as the mail has an attachment the action getAll crashes with error "An exception occurred while performing action GetAll in cfimap tag. The cause of this exception was: javax.mail.MessagingException: Unable to load BODYSTRUCTURE."
Comment by External U.
4964 | October 28, 2016 10:56:40 AM GMT