Cannot Send Email Due to 'javax.mail.NoSuchProviderException' SMTP Error

Still need help?

The Atlassian Community is here for you.

Ask the community


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.

Last modified on Feb 23, 2016

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.