> http://www.coldfusionjedi.com/index. cfm/2> 011/8/12/ColdFusion-Sample--Turning-a-form-input-into-a-PDF-for-email > > > On Fri, Aug 12, 2011 at 1:47 PM, Raymond Camden <raymondcamden@gmail. > com> wrote: > > Any reason why your type is HTML? In the cfmailparam I mean. Typo? > > > > On Fri, Aug 12, 2011 at 10:41 AM, <[email protected]> wrote: > >> > >> Ray, > >> > >> You're right, the <cfmailparam> was simple. I suppose it was > everything I had to do on the page that took some time.... create a > new pdf based on the form input, upload it, then send it out. But this > is all that I did for the cfmail. > >> > >> > >> <cfmail to = "#emailSend#" > >> from="#form.senderOfEmail#" > >> subject="New Order from #form.personsName#" > >> type="html"> > >> <cfmailparam file="#startpath#NewOrderNr#new_nr#.pdf" > type="html" /> > >> If there are any questions, please contact us at xxxxxxxx. > <br><br> > >> Thank you for your business, <br> > >> </cfmail> > >> > >> > >> Zelda > >> > >> -----Original Message----- > >> From: Raymond Camden [mailto:[email protected]] > >> Sent: Friday, August 12, 2011 10:31 AM > >> To: cf-newbie > >> Subject: Re: upload a file and send it with a form using cfmail > >> > >> > >> May I ask - what was hard about sending the file? In theory it's > just > >> a simple <cfmailparam> > >> > >> On Fri, Aug 12, 2011 at 9:07 AM, <[email protected]> wrote: > >>> > >>> I had this issue awhile ago, and the hard part for me was sending > the file to the recipient using cfmail. I worked it out eventually, > but it was not pretty. So I was interested to know how others did this. > > >>> > >>> Zelda > >>> > >>> -----Original Message----- > >>> From: Raymond Camden [mailto:[email protected]] > >>> Sent: Friday, August 12, 2011 8:32 AM > >>> To: cf-newbie > >>> Subject: Re: upload a file and send it with a form using cfmail > >>> > >>> > >>> What part is the challenge? If uploading the form is, check out my > guide here: > >>> > >>> http://www.coldfusionjedi.com/index. > cfm/2007/10/12/File-Upload-Guide > >>> > >>> If mailing is the issue - read the docs on cfmail. It really is > pretty > >>> simple in CF to send email. > >>> > >>> On Fri, Aug 12, 2011 at 12:41 AM, Mo Lay <[email protected]> > wrote: > >>>> > >>>> Hi guys, > >>>> > >>>> Iam building a form where users can attach files and send it with > the form .. > >>>> the challenge is : the form data has to go to the database and > the file has to be send to a specific adress (email) / alternate > options to be uploaded to a specific folder on the network drive.. > >>>> > >>>> > >>>> Any suggestion on hoe this can be done ??.. > >>>> > >>>> > >>>> your help is much appreciated.. > >>>> > >>>> Thanks > >>>> > >>>> > >>> > >>> > >>> > >>> > >> > >> > >> > >>
Thanks guys for all your answers. I agree that sending email is easy with cfmail ..the reason i ve asked this question is my users have to submit the form and they can also attach their business case with the form./ ultimately the form data will be found in the databse and the file should be received by the destination list. Thank you.. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5432 Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm
