1 Reply Latest reply on Aug 30, 2013 6:51 PM by ctomc

    smtp mail sent securely to external smtp server

    cwturner

      I have tested a secure  mail config with JBoss AS 7.1.1.Final "Brontes"  and it works for my smtp mail provider dyn outbound.mailhop.org also on port 465.

      So I do not need to use the STARTTLS features available on port 2525 which I was using before on old jboss.

       

         <mail-session jndi-name="java:jboss/mail/Default">

                      <smtp-server ssl="true" outbound-socket-binding-ref="mail-smtp">

                              <login name="dynusername" password="dynpassword" />

                      </smtp-server>

                  </mail-session>

      ...

      <outbound-socket-binding name="mail-smtp">
              <remote-destination host="outbound.mailhop.org" port="465"/>
          </outbound-socket-binding>