SMTP通知設定オブジェクトを使用して、電子メールテンプレートオブジェクト、および置換トークンを使用して、電子メール通知を生成します。ターゲットSMTPサーバ、認証のための資格情報、および発信アドレスは、SMTP通知設定オブジェクトから読み取られます。件名および電子メールメッセージは、テンプレートオブジェクトおよびテンプレート置換トークンを使用して作成されます。置換トークンは<arg-string>要素およびタグ名の属性内で宣言します。予約済みの置換トークンは、さまざまな受信者アドレスを指定します。
<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 >
属性 |
有効値 |
デフォルト値 |
---|---|---|
disabled |
|
false |
notification-dn |
CDATA SMTP通知設定オブジェクトのスラッシュ形式のDNです。 |
#REQUIRED |
disabled |
false |
|
パスワード |
CDATA SMTPサーバのユーザパスワードです。arg-passwordtoken-named-password |
#IMPLIED |
|
CDATA 電子メールテンプレートオブジェクトのスラッシュ形式のDNです。変数の拡張がサポートされます。 |
#REQUIRED |