Apache Sling Commons Messaging Mail

Clone this repo:

Branches

  1. 68e4650 Updating badges for org-apache-sling-commons-messaging-mail by Radu Cotescu · 10 months ago master
  2. f55f26a SLING-7245 - Validate pull requests using Jenkins by Robert Munteanu · 10 months ago
  3. 9c323a6 trivial: added license header to *.md files by Radu Cotescu · 1 year, 3 months ago
  4. 78d165e SLING-7215 - [nice-to-have] Add a CONTRIBUTING file to every module by Radu Cotescu · 1 year, 3 months ago
  5. ca92c92 SLING-7216 - [nice-to-have] Add a CODE_OF_CONDUCT file to every module by Radu Cotescu · 1 year, 3 months ago

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