We have upgraded to Spectrum 24.3.8 and now we are unable to send mails from OneClick. The SMTP settings are fine and nothing has changed in our configuration.
When we enable the debug from the OneClick Admin page, Administration tab, Debugging, Web Server Debug page (runtime) and enable the debug for email we can see the following errors:
2025-06-02 10:35:17,792 [https-jsse-nio-8443-exec-32] INFO System.out - DEBUG: getProvider() returning provider protocol=smtp; type=javax.mail.Provider$Type@594860dc; class=org.eclipse.angus.mail.smtp.SMTPTransport; vendor=Or
acle
2025-06-02 10:35:17,792 [https-jsse-nio-8443-exec-32] INFO com.aprisma.debuglog - (EMAIL) - Stack Trace for: javax.mail.NoSuchProviderException
2025-06-02 10:35:17,792 [https-jsse-nio-8443-exec-32] WARN System.err - javax.mail.NoSuchProviderException: Provider class does not have a constructor(Session, URLName): protocol=smtp; type=javax.mail.Provider$Type@594860dc;
class=org.eclipse.angus.mail.smtp.SMTPTransport; vendor=Oracle
Spectrum 24.3.8. Linux
angus-mail-2.0.2.jar file in $SPECROOTU/tomcat/lib on the OneClick server
Please move the file angus-mail-2.0.2.jar from $SPECROOT/tomcat/lib into a location outside of $SPECROOT and restart Spectrum tomcat.
Then you should be able to send mails from OneClick.
Problem has also been seen in Spectrum 24.3.9 for Windows (but not for Linux)
SMTPTrasport class present in both geronimo-javamail jar and angus-mail-2.0.2.jar and because of this there is a conflict.