I would however strongly suggest that you only use this for SMALL attachments, if people are going to start sending big attachments then you are going to start having major problems from the users PC/Outlook, the ISP's SMTP server, the receiving mail server. Here are just some of the problems you can have.
1. Outlook cannot send the email, and will keep trying, the email will get stuck in the outbox and keep sending over and over again or not at all. So the user is often unaware of this, so will have no idea that their email never sent or that you are getting hundreds of copies of it per day. 2. the senders ISP will not allow large attachments and the email will simply be rejected or the attachment removed. 3. The receiving mail server will not accept emails with big attachments and will either reject it or bounce it including the attachment back to the recipient. 4. The senders mail server will not accept large attachments, so will reject the bounce back, or bounce it back to the previous mail server causing a loop (called backscatter) Unless of course you are the ISP and have full control of all the mail servers in the loop and can configure all the users email clients to avoid these issues. A much better solution would be a document/file sharing or management system. There are plenty out here ranging from FREE to expensive, Russ On Wed, Jul 27, 2011 at 5:33 PM, Gerald Guido <gerald.gu...@gmail.com>wrote: > > > http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_p-q_08.html#2965096 > > > On Wed, Jul 27, 2011 at 12:31 PM, Wil Genovese <jugg...@trunkful.com> > wrote: > > > > > That is the exact process. > > > > CFPOP is the tool to use to check the email box. It will let you do most > > things any normal email client would do such as get headers only, save > > attachments, delete emails etc. Have a schedule task run the code once > > every n minutes. > > > > > > > > Wil Genovese > > Sr. Web Application Developer/ > > Systems Administrator > > CF Webtools > > www.cfwebtools.com > > > > wilg...@trunkful.com > > www.trunkful.com > > > > On Jul 27, 2011, at 11:27 AM, Shannon Rhodes wrote: > > > > > > > > I was asked today if there's a way to use ColdFusion to basically email > a > > document to an application rather than users having to save attachments > to > > their systems and then upload to a CF application from there. > > > > > > So you'd email a file from, say, Outlook, with an identifying number in > > the subject line, and then automatically upload the attachment and > otherwise > > run business logic to associate the file to the correct ID in the > > application (authenticating based on user's email address). It's easy > > enough to use CF to upload a file and run business logic, but I'm stuck > on > > the idea of how it's going to parse out this information in the first > place. > > I'm guessing you'd set up an email account to receive such files, then > run > > a task to periodically comb through this account's inbox and somehow > "read" > > the subject lines, from addresses, point to the attachment for upload, > then > > archive the message. Anyone done anything like this or have any idea how > > you'd approach it? Thanks. > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346368 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm