tracker issue : CF-4203900

select a category, or use search below
(searches all categories and all time range)
Title:

CFMAIL changes the from name to lowercase

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Stuart W. / ()

Created: 01/11/2019

Components: Net Protocols, MAIL

Versions: 2018

Failure Type: Incorrectly functioning

Found In Build/Fixed In Build: CF Version 2018.0.01.311402 / Adobe Driver 5.1.4 (Build 0001) / 2020.0.0.314573

Priority/Frequency: Normal / Some users will encounter

Locale/System: / Win 2016

Vote Count: 1

Coldfusion 2018 Standard - both in DEVELOPMENT and paid for versions
(2018 edition not an option in the version box on the Add Bug form, so had to use 2016)


Problem Description: When sending a <cfmail> the friendly "from name" field is converted to lower case when surrounded by parenthesis. 

Steps to Reproduce: Send a CFMAIL
<cfmail to="email@test.com" from="lowercasename@sender.com (Sender Name)" subject="test"></cfmail>

Actual Result: sender name

Expected Result: Sender Name

Any Workarounds: Change the structure of the from tag to from="Sender Name <lowercasename@sender.com>"

Attachments:

Comments:

+1 - Confirmed CF2018 sends parenthesized text as lowercase within from="" and to="" attributes. Sending email from CF2016 and Outlook 365 preserves the casing.
Vote by Aaron N.
30110 | January 12, 2019 03:11:57 AM GMT
Hi Stuart, Just wanted to understand the use case it would solve?
Comment by HariKrishna K.
30124 | January 16, 2019 08:13:21 AM GMT
Hi Hari, Legally, it'd solve adherence to the RFCs governing email address format `local-part@domain`. In short, both `local-part` and `domain` can contain parentheses-wrapped comments. Please see https://en.wikipedia.org/wiki/Email_address#Syntax (including the referenced RFC sections). Visually, and I believe the use case described in the description, people usually prefer their names be capitalized (i.e. "Aaron Neff" instead of "aaron neff"). CF2018 creates a problem b/c it auto-lowercases the names within the legal parentheses-wrapped comments. Thanks!, -Aaron
Comment by Aaron N.
30129 | January 18, 2019 08:22:24 AM GMT
This bug has just been introduced into CF2016 Enterprise on Win :(
Comment by Will M.
30984 | July 02, 2019 02:39:21 PM GMT