Send Email from Template

Generates an e-mail notification using a template.

Fields

Notification DN

Specify the slash form DN of the SMTP notification configuration object.

Template DN

Specify the slash form DN of the e-mail template object.

Password

(Optional) Specify the SMTP server account password.

IMPORTANT:You can store the SMTP server account password as a Named Password on the driver object. This allows the password to be encrypted; otherwise you enter the password and it is stored in clear text. For more information on Named Passwords, see Securely Storing Driver Passwords with Named Passwords in the Identity Manager 3.6.1 Common Driver Administration Guide.

Strings

Specify additional fields for the e-mail message. The following table contains reserved field names, which specify the various e-mail addresses:

String Name

Description

to

Adds the address to the list of e-mail recipients; multiple instances are allowed. Can contain a comma-separated list of recipients.

cc

Adds the address to the list of CC e-mail recipients; multiple instances are allowed. Can contain a comma-separated list of recipients.

bcc

Adds the address to the list of BCC e-mail recipients; multiple instances are allowed. Can contain a comma-separated list of recipients.

reply-to

Specifies the address to be used as the e-mail message reply address.

encoding

Specifies the character encoding to use for the e-mail message.

custom-smtp-header

Specifies a custom SMTP header to add to the e-mail message.

Each template can also define fields that can be replaced in the subject and body of the e-mail message. If you want to use HTML tags to format the strings, use the HTML tags within the <use-html></use-html> tags. The value of <arg-string> tag attribute is interpretted as HTML, if it is enclosed within <use-html></use-html> tags.

Example

Send email from template

The following is an example of the Named String Builder, used to provide the strings argument:

Send email template Named String Builder