SLING-8841 Update to Sling Bundle Parent 35
2 files changed
tree: e2cbf9bcb18c73f98ca8f4b24c79399f82eda371
  1. src/
  2. .gitignore
  3. bnd.bnd
  4. CODE_OF_CONDUCT.md
  5. CONTRIBUTING.md
  6. Jenkinsfile
  7. LICENSE
  8. pom.xml
  9. 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>
  }
}