6 Replies Latest reply on Aug 21, 2008 1:30 PM by Nikolay Elenkov

    seam mail + SSL + ca-cert.org

    Bernhard Mäser Newbie

      Hi all...


      I try to send emails with seam-mail. On my local testing smtp-server with no security: no problem.


      But if i try to use our company-mailserver i get some errors like this:



      ... part of stacktrace:
      Caused by: javax.mail.MessagingException: Could not connect to SMTP host: my.server.com, port: 465;
        nested exception is:
              java.net.SocketException: Unconnected sockets not implemented
              at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)
              at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
              at javax.mail.Service.connect(Service.java:297)
              at javax.mail.Service.connect(Service.java:156)
              at javax.mail.Service.connect(Service.java:105)
              at org.jboss.seam.mail.ui.UIMessage.encodeEnd(UIMessage.java:140)
              ... 72 more
      



      I think this i caused because our admin uses certificates by cacert.org and they are not in the javas truststore.


      Any ideas how i can teach seam to send my emails anyway?
      Maybe this could be a feature request on jira :-)


      Thanks a lot for replies & greetings from Vienna/Austria


      Berni


      (still loving seam)