Hi there,
I have a function which creates some xls-files and pack it into a zip-file. The
created file is named 1234.zip and everything works correctly.
Then I want to send this file with cfmail as an attachment. But when I receive
the mail it contains a file named att54432.att which is obviously a zip-file
because I can open it with winZip correctly. But I need the original name for
the attachment!
I also create xls- and pdf-files with the same function of a cfc and this
works, the problem is only with zip.
Any ideas?? I would appreciate every suggestion.
I am using CF MX7.02 on Linux and here is a snippet of the relevant code:
<cfmail to="#sender#" bcc="#receiver#" from="#sender#" subject="#subject#"
server="#application.smtp_server#" port="#application.smtp_serverport#"
type="HTML">
...<cfmailparam file="#attach_file_name#" type="#mimeType#">...
</cfmail>
Thanks in advance,
Sigi
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:266117
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4