Hi, Since Sling now delivers a system bundle extension fragment for JAF and the latest JavaMail releases ( 1.4.5 verified ) are now valid OSGi bundles, it is possible to send email from Sling by just installing the javax.mail:mail bundle.
To celebrate this happy event I'd like to add an integration test for it, which would do the following: Setup: - install the javax.mail bundle ( unless we decide to ship it by default, but I doubt that ) - deploy a JSP file which delivers an email to localhost - start a local SMTP server using Wiser [1] Test: - access the JSP file to deliver the mail - verify that wiser has received the email message Teardown: - uninstall the javax.mail bundle - uninstall the JSP file - stop the SMTP server So my questions are: 1. Do you think this is worth having as an IT in Sling? 2. Do you have any hints on how I can deploy an additional bundle for the integration test? Thanks, Robert [1]: http://code.google.com/p/subethasmtp/wiki/Wiser
