SLING-7214 - Add the LICENSE file to every module
1 file changed
tree: c5cb70f8d6831b225591514f439226e191cda11f
  1. src/
  2. LICENSE
  3. pom.xml
  4. README.md
README.md

Apache Sling Commons Messaging Mail

This module is part of the Apache Sling project.

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>
  }
}