1 Reply Latest reply on Jun 21, 2006 1:16 PM by trautw

    how  to create mail session in JNDI

    Sony George Newbie

      hello all

      in tomcat we can use global naming resource in server.xml
      to create mail session in JNDI

      <Resource name="mail/testMail"
       auth="Container"
       type="javax.mail.Session"
       mail.smtp.host="mail.mycompany.com"
       mail.smtp.port="25"
       mail.transport.protocol="smtp"
       mail.smtp.auth="true"
       mail.smtp.user="sony"
       password="12345678"/>




      how to do this in J Boss ????

      thanks
      Sony George