This documentation relates to an early version of Confluence.
View this page in the current documentation or visit the current documentation home.

Cannot send email due to 'javax.mail.NoSuchProviderException' SMTP error

All Versions
Click for all versions
Confluence 2.8 Documentation

Index

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]

Labels

troubleshooting-faq troubleshooting-faq Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.