To configure the email service, see Email provider. |
You can use the IDM outbound email service over REST at the external/email
endpoint:
URI | HTTP Operation | Description |
---|---|---|
/openidm/external/email?_action=send |
POST |
Sends an email. |
/openidm/external/email?_action=sendTemplate |
POST |
Sends an email template. |
For additional examples, refer to Send mail.
external/email
POST parameters
IDM supports the following POST parameters:
from
-
Sender mail address
to
-
Comma-separated list of recipient mail addresses
cc
-
Optional comma-separated list of copy recipient mail addresses
bcc
-
Optional comma-separated list of blind copy recipient mail addresses
subject
-
Email subject
body
-
Email body text
type
-
Optional MIME type. One of
"text/plain"
,"text/html"
, or"text/xml"
.