8 Replies Latest reply on Oct 16, 2009 7:17 AM by Sebastian Schneider

    Sending e-mails with mail tasks

    Sebastian Schneider Master

      I can't send e-mails with mail tasks. In the unit tests it worked but on my Tomcat server I am getting this:

      Caused by: javax.mail.NoSuchProviderException: smtp
       at javax.mail.Session.getService(Session.java:794)
       at javax.mail.Session.getTransport(Session.java:718)
       at javax.mail.Session.getTransport(Session.java:661)
       at javax.mail.Session.getTransport(Session.java:641)
       at javax.mail.Session.getTransport(Session.java:696)
       at org.jbpm.pvm.internal.email.impl.MailSessionImpl.send(MailSessionImpl
      .java:48)
      


      I use the same configuration as for the unit test and I already checked that the SMTP-server is reachable from the box with Tomcat.

      I tried raising the loglevel but regarding this exception I don't see more ever with a higher level.