Generates an e-mail notification using an SMTP notification configuration object, e-mail template object, and replacement tokens. The target SMTP server along with credentials for authentication and the originating address are read from the SMTP notification configuration object. The subject and e-mail message are created using the template object and template replacement tokens. Replacement tokens are declared within a <arg-string> element and tag name attribute. Reserved replacement tokens specify the various recipient addresses.
<do-send-email-from-template notification-dn="/cn=security/cn=DefaultNotification Collection" template-dn="/cn=security/cn=DefaultNotification Collection/cn=PS-Sync Fail"> <arg-string name="manager"> <token-text>Bill Jones</token-text> </arg-string> <arg-string name="surname"> <token-text>Smith</token-text> </arg-string> <arg-string name="given-name"> <token-text>Joe</token-text> </arg-string> <arg-string name="to"> <token-text>to_user@company.com</token-text> </arg-string> <arg-string name="cc"> <token-text>cc_user@company.com</token-text> </arg-string></do-send-email-from-template >
Attribute |
Possible Values |
Default Value |
---|---|---|
disabled |
true | false True if this element is disabled. |
false |
notification-dn |
CDATA Slash form DN of the SMTP notification configuration object. |
#REQUIRED |
disabled |
true | false True if this element is disabled. |
false |
password |
CDATA Password for user on the SMTP server. Deprecated; use <arg-password> with <token-named-password> instead. |
#IMPLIED |
template-dn |
CDATA Slash form DN of the e-mail template object. Supports variable expansion. |
#REQUIRED |
( arg-string * )
Element |
Description |
---|---|
Actions that are performed by a <rule>. |
|
Actions argument. |