Posted by Jim Guerber on June 13, 2005 at 15:59:11:
In Reply to: EmailPtr posted by Grant Foraker on June 13, 2005 at 13:49:07:
I think the following code will fix the email printer. I was not supplying a file name on output, and I suspect that in that case, some email client programs were ignoring the app type and make the extention "dat".
Here is the corrected code:
Print (gateway)'Content-Disposition: attachment;'
Print (gateway)'Content-type: application/pdf;name="' ; cmd$ ; '"'
Print (gateway)'Content-Transfer-Encoding: base64'
Print (gateway)''