Title:
<cfmailparam> attachment header is not generated with the RFC 2231 standard
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/Fixed
Reporter/Name(from Bugbase): Sammy Saeed / Sammy Saeed (Sammy Saeed)
Created: 11/10/2016
Versions: 2016
Failure Type:
Found In Build/Fixed In Build: CF2016_Update3 / 2018.0.0.303899
Priority/Frequency: Normal / Some users will encounter
Locale/System: German / Windows 10 64 bit
Vote Count: 0
Problem Description: When using cfmailparam with a attachment that needs character encoding, the generated attachment header is not generated with the RFC 2231 standard. I realize that outlook is not fully compatible with RFC 2231, but give us the option to choose which standard we want.
Steps to Reproduce: Send an email with cfmail and attach a file which needs character encoding, in my example:
<cfmail from="test@nextron.ch" to="sammy.saeed@nextron.ch" subject="test" type="HTML">
<cfmailparam file = "\\nextron_sv7\home\satc\www\Revised AEOI Act (EN).pdf" type="application/pdf">
<cfmailparam file = "\\nextron_sv7\home\satc\www\Revised Draft AEOI Ordinance (EN).pdf" type="application/pdf">
</cfmail>
Actual Result:
------=_Part_4_11663860.1478773849599
Content-Type: application/pdf
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename*=Revised%20AEOI%20Act%20%28EN%29.pdf <-- important line
Expected Result:
------=_Part_4_11663860.1478773849599
Content-Type: application/pdf
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename*=us-ascii'en-us'Revised%20AEOI%20Act%20%28EN%29.pdf <--- important line
Any Workarounds:
Give us the option with a cfmailparam Attribute to use the RFC 2231 standard if we need it.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4197582
External Customer Info:
External Company:
External Customer Name: Sammy Saeed
External Customer Email:
External Test Config: My Hardware and Environment details: do not matter
Attachments:
Comments: