2009-11-08 01:53:25 UTC
I have a PDF form which is Emailed to our customers created dynamically with TCPDF / MySQL.
Everything was working well when I tested with Thunderbird as an Email client.
But we have a problem with Outlook. The problem is that outlook blocks files with a .tmp extension.
This can be fixed by editing the registry, which we can't expect out customers to do.
So my question is can we instruct Adobe Acrobat Reader to use a different extension name. using .txt would be the most suitable.
Here is a sample of the code I use for the 'click to submit' button.
$pdf->Button('submit', 60, 10, 'Press to Email', array('S'=>'SubmitForm', 'F'=>'mailto:someone@somewhere.com?subject=Returned PDF Form', 'Flags'=>array('ExportFormat')), array('lineWidth'=>2, 'borderStyle'=>'beveled', 'fillColor'=>array(128, 196, 255), 'strokeColor'=>array(64, 64, 64)));
Thanks for your help.