I am trying to use ColdFusion to send emails containing attachments stored on our server.
To manage these attachments, we call them 1.jpg, 2.doc... n.ext, where nis the key in the database, where we store other information about the file, such as its original file name.
I can use the code:
<cfmailparam file="c:\path\1.doc">
to indicate the file, but then it is attached to the letter as 1.doc. Anyway, can I override this and specify my own file name separately from the file?
Loftx source
share