this works on ACF, it defaults back to to text/plain
https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-tags/tags-m-o/cfmail.html
Lucee doesn't https://docs.lucee.org/reference/tags/mail.html#attribute-type
Lucee throws the following exception
https://github.com/lucee/Lucee/blob/5.3/core/src/main/java/lucee/runtime/tag/Mail.java#L279
The exception message should include the invalid value, the exception detail doesn't need the value(s)
, I've changed that too.
adapted improved exception message from manually
I've checked this with a fixed version of 5.3.8.53-SNAPSHOT. It works fine.