users@glassfish.java.net

Re: Glassfish and JavaMail

From: <glassfish_at_javadesktop.org>
Date: Thu, 17 Jan 2008 23:35:54 PST

In my case, adding

        <resource-ref>
            <res-ref-name>mail/sessionName</res-ref-name>
            <jndi-name>mail/sessionName</jndi-name>
          </resource-ref>
to sun-ejb-jar.xml in application works
[Message sent by forum member 'lindaqxl' (lindaqxl)]

http://forums.java.net/jive/thread.jspa?messageID=254620