Odd cfmail subject problem
Now the latest in my coldfusion adventures!
I have a variable field that I put in my email subject line:
<cfset email_subject = "A leave request has been deleted by #User_Name# - FYI Only" />
<cfmail
subject="#email_subject#" type="html">
Dumping User_Name shows that it is: "Bob Marley", with only 1 space between the first and last name.
Dumping the email_subject filed prior to sending the email shows: "Leave Request Deleted By Bob Marley - FYI Only"
However, when the email arrives, an additional 17 spaces have been added between the names!
"Leave Request Deleted By Bob Marley - FYI Only"
I've even tried Trim to no avail. And type="text", "plain" and simply omitted, make no difference in the subject line.
Any suggestions?
