users@glassfish.java.net

Re: [V3] Deploying a mail session as a JNDI resource

From: Kedar Mhaswade <Kedar.Mhaswade_at_Sun.COM>
Date: Tue, 11 Nov 2008 11:13:15 -0800

Alex,

No, this is not available for v3 Prelude.
You will have to use the mail session directly.

-Kedar

akochnev wrote:
> Is there a way to deploy a mail session as a JNDI resource w/ Glassfish v3 ?
> It seems that the admin interface only has JDBC resources, the asadmin
> command doesn't include a command to deploy one.
>
> Basically, I have an application that needs to look up a mail session from
> JNDI. It works OK in v2, Jetty, whatever else, but I can't find how to
> deploy the mail session in v3 so far. Can somebody give me a pointer ?
>
> Thanks,
>
> Alex Kotchnev