My problem is, that when attaching files via cfmailparam - no
matter if inline or not - and using a filename that contains or a
non 7bit-ASCII character or a simple space, the filename is not
displayed correctly in Outlook nor Thunderbird. I am sure that this
topic has been discussed here earlier but I really don't find any
topic when using the Forum Search function... so please help anyway
:) I am still using CFMX 6.1 :(
My code is the following:
contentID = "#variables.attachments.getCid()#">
When I revise the generated email code then I find the
Content-Disposition: attachment; filename*2=nger.csv;
You can see that the filename (emailempfänger.csv)
breaks up into several pieces which according to
RFC 2231 is a
valid format but obviously is not interpreted correctly by e.g.
Outlook. Or am I missing something else?
I tried the following and it worked for me:
<cfmailparam file="C:\Detail.xls" type="text" >
in cfmail tag.
Please send the optional values that you are using for the
The filename you used does not contain any non 7bit ASCII
character. The problem only occurs if I use characters like
"ä","ö","ü" but even [space] does provoke the error.
The variables hold the following values (you can see them in
the source posted, too):
1) variables.attachments.getContentType() :
2) variables.attachments.getFilename() :
3) this.dispositionType(variables.attachments.isInline()) :