Lucee 5.2.5.20
-------------------
CFML:
<cfmailparam name="Message-ID" value="<#message_id#>">
Result:
Message-ID: <1790945.36.1568570987311.JavaMail.HYPNOS$@Hypnos>
Adobe ColdFusion 10
--------------
CFML:
<cfmailparam name="Message-ID" value="<#message_id#>">
Result:
Message-ID: <13034050@208828803965331737.ezinedirector1.email>
Windows Server Enterprise, Lucee 5.2.5.20, Apache James
I've checked this ticket and confirmed the issue happened in lucee both affected and the latest version 5.3.8.76-SNAPSHOT.
Lucee ignores the cfmailparam Message-ID and lucee leaks the system information in message_id.
cfmailparam Message-ID works fine in ACF and also it overrides the Message-ID in the mail.
setting mailparam messageId didn't work, because it needs to be done after calling message.saveChanges()
https://stackoverflow.com/a/40257505/106175
adapted the fix from
and modified it a little bit
please give it a try
I've checked the issue with latest version 5.3.8.87-SNAPSHOT.
Yes, now it works fine. Now can overwrite the mail messageId with cfmailparam messageId.