commit | dd0c52e15ca2681a698ef512f67954448b40335f | [log] [tgz] |
---|---|---|
author | Oliver Lietz <olli@apache.org> | Sat Apr 09 07:22:33 2016 +0000 |
committer | Oliver Lietz <olli@apache.org> | Sat Apr 09 07:22:33 2016 +0000 |
tree | 9193de3b01253c123be6b72bf880cd5073a3dd87 | |
parent | 1eaf10a6382ba7e9656786fa15a7154e7524c9ee [diff] |
SLING-5644 Provide an messaging implementation based on Commons Email remove unused import git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1738328 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> } }