Hi Jen, Which mail server softare are you using?
For example, mdaemon works great for me, but for some reason with Smartermail the attachments just aren't seen. Jenny -----Original Message----- From: Jen Perkins McVicker [mailto:[email protected]] Sent: 25 August 2009 17:53 To: cf-talk Subject: RE: Automatically save email attachment Unfortunately, it's not working so well for me. :( I have an email with a .zip file attached, and although the script does not throw an error, it is simply not saving the file. Code: <cftry> <cfpop timeout="2000" server="[myserver]" port="110" username="[myusername]" password="[mypassword]" action="getAll" name="qEmails" attachmentPath="#expandpath('./UserFiles/Data')#" generateuniquefilenames="true"> <cfdump var="#qEmails#"> <cfcatch type="any"><cfdump var="#cfcatch#"></cfcatch> </cftry> ...it's not throwing an error, and the attachments field in the dump does show an attachment (DLRDIA.ZIP), but the attachmentfiles field in the dump is empty and the file is not copied to the server. Is there a size limit (this file is around 6MB), or does it only work for certain file types (i.e., .doc or .xls, but not .zip)? Jen Perkins McVicker Adobe Certified ColdFusion Developer [email protected] -----Original Message----- From: Rick Root [mailto:[email protected]] Sent: Monday, August 24, 2009 4:47 PM To: cf-talk Subject: Re: Automatically save email attachment On Mon, Aug 24, 2009 at 5:19 PM, Jen Perkins McVicker<[email protected]> wrote: > > Thanks Brad, I don't know how I missed that "attachmentPath" attribute! > I'll try the CFPOP tag. I built a ticketing system in CF that uses this to save attachments, works great! -- Rick Root CFFM - Open Source Coldfusion File Manager http://www.opensourcecf.com/cffm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326212 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

