emailNotification data type example

Here’s an XML example of the emailNotification data type:

<emailNotification>
    <enabled>true</enabled>
    <emailTemplate>
         <from>log@$location</from>
         <subject>$severity - $shortText</subject>
         <body>A message was written to the tenant log on $date.\n\n$reason\n\n
             $action</body>
    </emailTemplate>
    <recipients>
         <recipient>
              <address>lgreen@example.com, sgold@example.com</address>
              <importance>MAJOR</importance>
              <severity>ERROR</severity>
              <type>GENERAL,SECURITY</type>
          </recipient>
          <recipient>
              <address>mwhite@example.com</address>
              <importance>ALL</importance>
              <severity>WARNING</severity>
              <type>COMPLIANCE</type>
          </recipient>
    </recipients>
</emailNotification>

© 2015, 2020 Hitachi Vantara LLC. All rights reserved.