commit | d65096753e400bba824f03a1b89795a895092ed0 | [log] [tgz] |
---|---|---|
author | Oliver Lietz <olli@apache.org> | Thu Apr 07 09:18:07 2016 +0000 |
committer | Oliver Lietz <olli@apache.org> | Thu Apr 07 09:18:07 2016 +0000 |
tree | 91c2001fc6fd13cce9a0add2b14216fe65a344e0 |
SLING-5644 Provide an messaging implementation based on Commons Email git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1738114 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> } }