Actionmailer configuration in glassfish?

Hi all-

I hope this is an appropriate forum for this question, but where should
smtp
configuration be done with a warbler-deployed jruby rails app? Within
glassfish, in the standard java-way? Or as part of the rails
environment
configuration? Of the two, I’d prefer in glassfish. Also, are there
any
special tricks to getting it to work?

much thanks
Mike Kohout

On Mon, Aug 4, 2008 at 11:43 AM, Michael K. [email protected]
wrote:

Hi all-

I hope this is an appropriate forum for this question, but where should smtp
configuration be done with a warbler-deployed jruby rails app? Within
glassfish, in the standard java-way? Or as part of the rails environment
configuration? Of the two, I’d prefer in glassfish. Also, are there any
special tricks to getting it to work?

I haven’t heard of anyone patching ActionMailer to take a
javax.mail.Session JNDI connection, is that what you’re asking? I’m
sure it’s possible, but will probably require looking up a javamail
session at application initialization time and reading out the smtp
values directly from it.

/Nick


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Just the normal rails-way works fine for me.

On Mon, Aug 4, 2008 at 7:14 PM, Nick S. [email protected]
wrote:

javax.mail.Session JNDI connection, is that what you’re asking? I’m


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email