trivial: added license header to *.md files
2 files changed
tree: b3cf42e119aa6473baa7a7275113c6a68b38108f
  1. src/
  2. .gitignore
  3. bnd.bnd
  4. CODE_OF_CONDUCT.md
  5. CONTRIBUTING.md
  6. LICENSE
  7. pom.xml
  8. README.md
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>
  }
}