After finally getting our production environment c...
# lucee
d
After finally getting our production environment converted from ACF to Lucee Friday night, I've run into a problem we never detected in testing. Lucee sends HTML emails with the
Content-Transfer-Encoding
value as
7bit
and to conform with the mime message RFC, it automatically inserts new lines when a line is over 998 characters in length. However, this ends up breaking some minified CSS we inject into the message, because it's add a new line into a rule which ends up breaking the rest of the CSS. I wrote up a thread on this: https://dev.lucee.org/t/issue-with-cfmail-due-to-it-splitting-long-lines/10364 My current hack to resolving this is to just add new lines after every ending curly bracket (i.e.
}
) in the minified CSS, but I'd like a better solution. I wish I could just change the message to use
quoted-printable
for the message and then have Lucee not insert the newlines. Anyone have any thoughts?