Upgraded to Pebble 1.4.1
First, Id like to say thanks Simon for the addition of using a JNDI mail source. Since my mail server requires pop3 authentication, I was unable to use the email updates feature from previous versions. Like a good user, I opened a jira ticket just after the 1.4 release asking for smtp auth support. Simon responded with jndi support, which is even more flexible.
Now the steps to set this up using JBoss 3.2.3.
1) In the deploy dir, edit the mail-service.xml file with your mail server specific info. i.e. hostname, user, pass, etc. Leave the jndi name as it is java:/Mail
2) Edit the default web.xml that comes with pebble 1.4.1. Change <res-ref-name>mail/Session</res-ref-name> to <res-ref-name>Mail</res-ref-name> so it uses JBoss's default mail service. I chose to do this since I have other apps using this same mail service. You could add an additional one to if you wish. Just remember that when you upgrade to the next version of pebble, you changed the shipped web.xml.
3) Add the jboss specific jboss-web.xml descriptor in the WEB-INF dir. It should contain the following resource entry
<resource-ref>
<res-ref-name>Mail</res-ref-name>
<res-type>javax.mail.Session</res-type>
<res-auth>Container</res-auth>
<jndi-name>java:/Mail</jndi-name>
</resource-ref>
Thats all there is to it