This documentation relates to the latest version of Confluence.
If you are using an earlier version, please go to the documentation home page and select the relevant version.

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

All Versions
Click for all versions
Confluence 2.9 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.
  1. Jan 12, 2007

    Alex Yanchenko says:

    Also watch out for file named "mail-1.3.2.jar" located there. It's right another...

    Also watch out for file named "mail-1.3.2.jar" located there. It's right another instance of javamail.

Add Comment