trivial: added license header to *.md files
2 files changed
tree: b3cf42e119aa6473baa7a7275113c6a68b38108f
  1. .gitignore
  2. CODE_OF_CONDUCT.md
  3. CONTRIBUTING.md
  4. LICENSE
  5. README.md
  6. bnd.bnd
  7. pom.xml
  8. src/
README.md

Build Status Test Status License

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