API Management 10.4 | Using CentraSite | Policy Management | Configuring Email Notifications | Using Custom Messages in an Email Notification Action
 
Using Custom Messages in an Email Notification Action
One way to specify the body of the email message is to simply type the message directly into the Custom Message parameter. If you specify the body of the message in this way, you must set the Format parameter to indicate whether the message is to be sent as plain text or as an HTML document. When you use HTML format, you must enclose the message text in the <html> and <body> tags.
Example of a Plain Text Message
Virtual Service ${entity.name} has been placed in production by ${user.name}.
To view the virtual service, go to: ${entity.URL}
Example of an HTML Message
<html>
<body>
<p>Virtual Service <b>${entity.name}</b> has been placed in production by
<b>${user.name}</b>.</p>
<p>To view the virtual service, go to:
<a href="${entity.URL}">${entity.URL}</a></p>
</body>
</html>

Copyright © 2015- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release