- jbabt23Asked on February 06, 2011 at 11:28 AM
I have a client that has a form that has an autoresponse that includes a link to a .pdf. He wants people to be able to download the file.
Is there a way to attach a file to an autoresponse email.
- JotForm SupportabajanAnswered on February 06, 2011 at 04:12 PM
Well, in your client's case, since the autoresponse already contains a link to the PDF, the file itself need not be attached. His users just need to right-click the link in the autoresponse and choose "Save link as..." or whatever the contextual (shortcut) menu in their particular browser states, and download the file.
As to if files themselves (as opposed to just their links) can be attached to autoresponses, I doubt it.
- jbabt23Answered on February 07, 2011 at 07:53 AM
Thank you for the prompt reply. Is it possible that when they click the link in the email that instead of taking them to the page, it prompts them to save the file rather than go to the browser? A forced download if you will.
- JotForm SupportabajanAnswered on February 07, 2011 at 08:06 AM
Yes, there's a way to do that but according to this page, not with PDFs (although I'm almost certain there's a way to do it with such files too.) I'll see what resources on the topic I can find.
Aha! (Google is your friend) We're getting warmer but not quite there yet. According to this page, what you need to do is to compress (zip) the PDF. Once it is in that format, when users click on it in the normal fashion (as opposed to right-clicking it), a prompt to download the file will pop up from where the user can download the file. The only thing is, they need to have an application on their computer that opens zipped files. Not everyone has such a program. So, you will need to zip the PDF as a self-extracting executable. (You may have seen such files before when downloading various software to your computer.)
So, we need to find an application that will create self-extracting executable files. According to our friend (Google) there are several such programs - some are free and some are not. Free is good! However, beware of malware. Download.com is usually a safe bet when downloading freeware. There's a pretty popular program called 7Zip that I believe not only opens zipped files but also creates self-extracting executables, which is what we really need. I'll do some checking.
It turns out that I actually have 7Zip on my computer but didn't remember. (I've downloaded so much stuff over the years that I don't remember half of what I have.) You may find this link helpful.
- jbabt23Answered on February 07, 2011 at 08:26 AM
Thanks. I had looked around a bit and found the zip point vs. pdf. If you can find a pdf option that would be awesome.
- JotForm FounderaytekinAnswered on February 07, 2011 at 09:41 AM
No, it is not possible to attach files to the emails. You can create links to them, but you cannot attach files.
- JotForm SupportabajanAnswered on February 07, 2011 at 10:48 AM
@jbabt23 I just created a self-extracting executable PDF using 7Zip and everything worked just fine. After creating the executable, I uploaded it to my file storage service and copied its link location (URL). I then created an autoresponse message which included the following text: download file. Then, using the "Insert/edit link" box, I turned that text into a link to the file.
When I used Firefox to open the autoresponse (in an email account I use for testing purposes) and clicked the link, a download prompt popped up and I downloaded the file. Double-clicking the downloaded file caused the usual warning about how certain file types can harm my computer and when I openned it, there was an extract button which created a PDF file from the EXE file. (Chrome doesn't show a pop-up prompt when downloading files.)
- JotForm FounderaytekinAnswered on February 08, 2011 at 03:45 AM
That will not work. As I said, there is no way to attach files to emails. We do not support it.
You should simply upload the zip file to your web site and have the link point to it. Example: http://domain.com/file.zip
- JotForm SupportjonathanAnswered on June 29, 2016 at 05:07 AM
Great news! This feature is now available.
Files uploaded to your form can now be sent as attachment on email notifications. Please give it a try and let us know if you have any feedback:
You can read more about it on our article blog here