Cannot Send Email Due to 'javax.mail.NoSuchProviderException' SMTP Error
症状
When Confluence tries to send mail, a "javax.mail.NoSuchProviderException: smtp" error is thrown.
原因
Two different versions of Sun's Javamail libraries are in the application classpath. When Confluence tries to send an email, Java gets confused as to which version of the library it should be using.
ソリューション
If (and only if) you are encountering this error, remove the javamail-x.jar
and activation-1.x.jar
files from the confluence/WEB-INF/lib
directory of your Confluence installation, then restart Confluence.
最終更新日: 2016 年 2 月 23 日
Powered by Confluence and Scroll Viewport.