tracker issue : CF-3041764

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

Bug 83574:Attempting to login to an Exchange 2007 server and retrieve attachments from messages

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/

Reporter/Name(from Bugbase): Rob Kolosky / Rob Kolosky (rkolosky)

Created: 07/13/2010

Components: CFExchange

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 9,0,0,251028 /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Win All

Vote Count: 4

Problem:

Attempting to login to an Exchange 2007 server and retrieve attachments from messages. I connect to the Exchange server, but when I attempt to get attachments, Exchange responds with a 501 error.
Method:

Establishing connection to the Exchange Server<br /><cfflush /><cfexchangeconnection action="open" userName="username@server.com" password="" server="mail.server.com" protocol="https" connection="myMail"  />Mailbox open<br /><cfflush /><cfexchangemail action="get" connection="myMail" name="myMailList" /><cfdump var="#myMailList#" /><cfloop query="myMailList"><cfif myMailList.hasAttachment eq true><cftry><cfexchangemail action="getAttachments" connection="myMail" name="attachment" UID="#myMailList.uid#" attachmentpath="C:/test" generateUniqueFilenames="true" /> <cfdump var="#attachment#" label="#myMailList.subject# attachments" /><cfcatch><cfdump var="#cfcatch#" /></cfcatch></cftry></cfif></cfloop>Closing mail connection<br /><cfflush /><cfexchangeconnection action="close" connection="myMail" />
Result:

Exchange error Code : 501.Error performing the action. coldfusion.tagext.net.exchange.ExchangeExceptions$GenericExchangeActionException: Error performing the action. at coldfusion.tagext.net.exchange.ExchangeExceptions.throwGenericExchangeActionException(ExchangeExceptions.java:727) at coldfusion.tagext.net.exchange.ExchangeTag.processWebDAVStatusCode(ExchangeTag.java:792) at coldfusion.tagext.net.exchange.ExchangeTag.processException(ExchangeTag.java:714) at coldfusion.tagext.net.exchange.ExchangeTag.getAttachments(ExchangeTag.java:865) at coldfusion.tagext.net.exchange.ExchangeMailTag.doEndTag(ExchangeMailTag.java:337) at cfscribble2ecfm1093373068.runPage(C:\Inetpub\wwwroot\utils\scribble.cfm:17) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:363) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:87) at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:74) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:53) at coldfusion.CfmServlet.service(CfmServlet.java:200) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at jrun.servlet.FilterChain.doFilter(FilterChain.java:86) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at jrun.servlet.FilterChain.service(FilterChain.java:101) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

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

Watson Bug ID:	3041764

External Customer Info:
External Company:  
External Customer Name: Rob Kolosky
External Customer Email: 0D63608F448DC27599201549
External Test Config: 07/13/2010

Attachments:

Comments:

This can be repoduced everytime I attempt to get an attachment from an exchange 2007 server.
Vote by External U.
21770 | November 11, 2011 12:48:39 AM GMT
I have searched everywhere for a solution to this problem and it seems that there is not solution and nothing is even in the works to have it resolved. Without the ability to grab attachments, there really is not point in using the cfexchange tags. Could someone please resolve this bug? Thanks!
Vote by External U.
21771 | November 11, 2011 12:48:40 AM GMT
I am having the same problem, cannot find any solution. I heard this works with earlier versions of exchange but not with 2007. I have a huge project pending on this issue. Could someone please fix? Ty
Vote by External U.
21772 | November 11, 2011 12:48:41 AM GMT
This bug has been voted..
Vote by External U.
21773 | November 11, 2011 12:48:43 AM GMT