commit | eb1c93b34ad94af8eef4f74c116b8919bc2f928e | [log] [tgz] |
---|---|---|
author | Oliver Lietz <olli@apache.org> | Tue Apr 26 09:32:44 2016 +0000 |
committer | Oliver Lietz <olli@apache.org> | Tue Apr 26 09:32:44 2016 +0000 |
tree | 158c5596253784f216aae383e8eb153cdadea0ca | |
parent | c4a0e4d2fcac54b12d9605fdba61a47dcfde4d2f [diff] |
SLING-5644 Provide an messaging implementation based on Commons Email make charset configurable git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1740978 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> } }