Mail Extension: cfmail fails with "jakarta.mail.Provider: com.sun.mail.imap.IMAPProvider not a subtype" once javax.mail was used first

@schueri89 thanks for the very clear analysis and the suggested fix, that’s exactly what it was.

This is tracked as LDEV-6485. The Mail extension now creates the mail session and transport with its own classloader, so using javax.mail first no longer breaks cfmail.

The fix is in Lucee 7.1.1.15-RC, which bundles Mail extension 1.1.0.10-RC: Lucee 7.1.1.15-RC available for testing

I ran a regression test that uses javax.mail first and then sends with cfmail (request thread, cfthread and the spooler) on 7.1.1.15-RC, and all 5 specs pass. Could you give the RC a try with your scheduled IMAP check, and let us know if cfmail keeps working after it has run?