commit | c4a0e4d2fcac54b12d9605fdba61a47dcfde4d2f | [log] [tgz] |
---|---|---|
author | Oliver Lietz <olli@apache.org> | Tue Apr 19 19:33:03 2016 +0000 |
committer | Oliver Lietz <olli@apache.org> | Tue Apr 19 19:33:03 2016 +0000 |
tree | 745fd1feb60340550187f81e473338b8412d94c2 | |
parent | dd0c52e15ca2681a698ef512f67954448b40335f [diff] |
add missing instructions for bnd git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1739986 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> } }