You can tell the cfdocument tag to save the PDF it generates to a temporary 
location with a unique name.  Then use the mimeattach attribute of the cfmail 
tag to attach the file to the E-mail.

The user won't have to mess with Outlook, or even have Acrobat installed on 
their machine, as this will all happen server-side.

~Brad

-----Original Message-----
From: Chad Gray [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 10, 2007 3:20 PM
To: CF-Talk
Subject: RE: Make PDF from page then email PDF

How would you use CFDocument and CFMail together?

I donâEUR(tm)t see a way to take the PDF that CFDocument makes and save it to 
the file system, or pass it as a variable to CFMailParam.

You know I though that Acrobat Reader would allow you to email the PDF once 
opened in your browser, but I donâEUR(tm)t see this option in acrobat reader.  
The closest I see is a button called "send to fedex kinkos" and that is not 
what I want.




-----Original Message-----
From: Brad Wood [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 10, 2007 3:50 PM
To: CF-Talk
Subject: RE: Make PDF from page then email PDF

This wouldn't involve outlook, but I don't think you need it.

Use cfdocument to create the pdf and cfmail to send the E-mail attaching
the pdf to it.

Let the user type into a text area whatever they wish to be included in
the body of the E-mail.

~Brad

-----Original Message-----
From: Chad Gray [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 10, 2007 2:37 PM
To: CF-Talk
Subject: Make PDF from page then email PDF

I have a form that people fill out.

When they hit submit I want to make a PDF of data they submitted then
pop open an email in outlook with the PDF attached to it.

Then all the user has to do is fill in the email to send the PDF to and
hit submit.

Any suggestions on how to do this?








~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283419
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to