Dashboard > Confluence User Guides and Documents > ... > Troubleshooting FAQ > Cannot send email due to 'javax.mail.NoSuchProviderException' SMTP error
Cannot send email due to 'javax.mail.NoSuchProviderException' SMTP error Log In   View a printable version of the current page.

Added by vidya, last edited by david.soul@atlassian.com on Oct 19, 2006  (view change)
Labels: 

When Confluence tries to send mail, I get a "javax.mail.NoSuchProviderException: smtp" error.

The technical explanation is that you have two different versions of Sun's Javamail libraries in your application classpath. When Confluence tries to send an email, Java gets confused as to which version of the library it should be using, and falls over. If (and only if) you are encountering this error, try removing the Javamail-1.3.jar and activation-1.0.1.jar files from the confluence/WEB-INF/lib directory of your Confluence installation, and restarting the server. The problem should go away.

RELATED LINKS

This issue at Atlassian's forum

[FAQ Home]

DEMONSTRATION LICENSE - This Confluence site is for demonstration purposes only. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.6.1 Build:#916 Nov 09, 2007) - Bug/feature request - Contact Administrators