Can not send email on JIRA standalone (NoSuchProviderException: smtp)

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: High
    • 3.2.1
    • Affects Version/s: 3.1.1
    • Component/s: Email notifications
    • Environment:

      Windows XP, JIRA Standalone

    • 3.01

      When you try to send an email, you get the following error message:

      An error has occurred with sending the test email:
      com.atlassian.mail.MailException: javax.mail.NoSuchProviderException: smtp
      at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:152)
      at com.atlassian.jira.web.action.admin.mail.SendTestMail.doExecute(SendTestMail.java:72)
      at webwork.action.ActionSupport.execute(ActionSupport.java:153)
      at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:46)
      at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:131)
      at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:186)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      ...

      This can be solved by removing activation.jar and mail.jar from common/lib directory. After removing the two files, you will need to restart JIRA.

            Assignee:
            Unassigned
            Reporter:
            Ernest Wong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: