Mailster is a project aimed at testing software mail capabilities. It provides a mail server container to test emails sent by your apps without rewriting your application code.
The MailRA resource adapter allows sending and asynchronously (non-polling) receiving of emails. It is coded according to the JCA 1.5 and Java EE 5 standards. The project is coded from scratch, without using source code from Sun.