REST Email Provider
Sometimes other providers are needed besides SMTP. To give full flexibility, Curity provides a REST API towards which the organization can build a small Mailer REST service. This allows the organization to integrate against any Email provider without having to extend the functionality of Curity in a simple manner.
Configuration#
To configure the REST Email Provider, a REST client configuration is required.
| Configuration | Mandatory | Description |
|---|---|---|
hostname | Yes | The hostname or IP address of the web service. |
port | Yes | The port of the web service. Default is set to 80. |
context | No | The URL path or context of the web service. |
http-client | Yes | The reference to the Http Client. |
default-sender | Yes | An email address (RFC 822) that is used as the sender of each outgoing email message, accepting two formats: "user@host.domain" or "User Name <user@host.domain>". |
The above parameters are used to configure the REST email provider in the facilities section.

For more information on how to develop an Email service plugin see the developer guide .