commit | 1eaf10a6382ba7e9656786fa15a7154e7524c9ee | [log] [tgz] |
---|---|---|
author | Oliver Lietz <olli@apache.org> | Sat Apr 09 07:21:33 2016 +0000 |
committer | Oliver Lietz <olli@apache.org> | Sat Apr 09 07:21:33 2016 +0000 |
tree | ae5ec3f6aaa6c16032dd7ef1a81d106725552680 | |
parent | c60f2f2526d3e1e4eaeb57a5c0f02f417141be63 [diff] |
SLING-5644 Provide an messaging implementation based on Commons Email wrap ThreadPool in Executor to stick with Commons Threads 3.2.6 git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1738327 13f79535-47bb-0310-9956-ffa450edef68
Provide an OSGi Configuration for SimpleMailBuilder
or a custom MailBuilder
to send messages using Apache Commons Email.
To extend or override SimpleMailBuilder
s configuration call MessageService#send(String, String, Map):Future<Result>
and supply a configuration map mail
within the third parameter:
{ "mail" : { "mail.subject": <String>, "mail.from": <String>, "mail.smtp.hostname": <String>, "mail.smtp.port": <int>, "mail.smtp.username": <String>, "mail.smtp.password": <String> } }