DSpace/dspace-services — pull request #6 by mwoodiupui (2012-09-12 14:17:43+00:00)
Title: [DS-1182] Use a better method to get JavaMail instances, creating a service to wrap it

Introduce an email service to consolidate the tedious repetitive parts of setting up to send an email, instead of fixing the same problem in several places.

While I was at it, I added a feature: if there is a mail Session (named Session) defined in JNDI, it will be used in preference to any configuration in dspace.cfg. This is analogous to the way the DBMS startup code will look for a DataSource in JNDI before spinning up one of its own.

So, I guess this introduces two new features to dspace-services, in support of fixing a bug over in dspace.