Forums

Attachment "on the fly"

gabrieleb 21 Jul, 2010
hello,i am using FPDF to create a pdf which i want to send with chronoforms.

Until now i used to create the file on my server, send as attachment and then delete it asap, but now i have some problems with file names, is it possible to modify email headers of the chronoform-email acting into the BeforeSubmit input box?
GreyHead 21 Jul, 2010
Hi gabrieleb,

I think that the headers are hard-coded. What do you need to change?

Bob
gabrieleb 22 Jul, 2010
well, i used to generate my pdf as a file, now i'd want to generate the pdf as a string, and then add the string to the headers as Content-Disposition.

The problem is to avoid file name conflicts for forms submitted at the same time, i think the better solution was that, to avoid the generation of the file on the server
klimmbimm 24 Aug, 2010
did you find a solution for your problem? i would be interested in this.
rambb 14 Apr, 2011
im gabrieleb, i just created random temporary folders to keep the unique name for generated files without have to modifiying them from the headers
This topic is locked and no more replies can be posted.