tracker issue : CF-3736186

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

cfexchange won't save EML attachments from exchange2010 to file

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/CannotReproduce

Reporter/Name(from Bugbase): Tjomme Henny / Tjomme Henny (Tjomme_H)

Created: 04/03/2014

Components: CFExchange

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: Final /

Priority/Frequency: Trivial / Unknown

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

Vote Count: 0

Problem Description: 
Any attempts to download email attachments like forwarded emails from exchange 2010 using cfexchange fail to save to file.

Steps to Reproduce:
                   action = "open" 
                   username = "emailaddress" 
                   password = "#ExchangePW#" 
                   server = "exchangeserver" 
                   connection = "exchangeConn"
<!--- mail from specific folder --->
<cfexchangemail action="get" name="qMail" connection="exchangeConn"> 
    <cfexchangefilter name="folder" value="Postvak IN/Coldfusion ">  
<cfdump var="#qMail#" /> 
<!--- attachment(s) --->
<cfloop query="qMail">
               <cfif qMail.hasAttachment EQ "YES">
                              <cfexchangemail action="getAttachments" name="qAttach" connection="exchangeConn" uid="#qMail.UID#" attachmentpath="F:\logs\CFConnector\temp" />
                              <cfdump var="#qAttach#" />
    action = "close" 
    connection = "exchangeConn">

Actual Result:
No attached EML file is saved to folder. All other types of attachments do get saved to that folder.

Expected Result:
Should save all attachment including EML format.

Any Workarounds:
Using existing cfexchange classes with JAVA in CF10 allowed to get the added email-type attachments via the EWS interface.

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

Watson Bug ID:	3736186

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


  1. April 03, 2014 00:00:00: 1_maildump.txt


Tjomme_H, We are unable to reproduce the issue with CF10 update12 / HTTP / Exchange Server 2010. / Win server 2012 R2. The cfexchangemail "getAttachments" tag is returning the expected result and saving the .eml attachment in the designated location. query ATTACHMENTFILENAME ATTACHMENTFILEPATH CID ISMESSAGE MIMETYPE SIZE test_mail_attch.eml C:\Users\Administrator\Desktop\mailAttch\test_mail_attch.eml [empty string] NO [empty string] 831 Can you pls. check to see if there are any corresponding exceptions registered in the CF coldfusion-out or exceptions logs. Also, pls. verify that the user account CF is using has write permission to the folder you are trying to save the attachment.
Comment by Piyush K.
12880 | August 21, 2014 10:03:13 AM GMT
closing this since I am not able to reproduce the issue.. If anyone is experiencing anything akin to this, please feel free to revert with details. Thanks.
Comment by Piyush K.
12881 | December 03, 2014 04:02:36 AM GMT