I have been trying to rename the file attachment for some time and cannot figure it out. Am running CF10 ad have tried this:
<cfmail from="#fromAddress#"
to="#trim(toAddress)#"
subject="#trim(subject)#"
type="#emailType#"
bcc="#bcc#"
>
<cfmailparam file="D:\Production_www4\uploads\11\WENS Crisis Overview - Healthcare-OPT.pdf" disposition="attachment" type="application/PDF">
But the problem is it does come properly, but just a generic name PDF Document. PDF which if I got that I would never open.
Is there a way I can rename the filename?
Thank you so much!!!