Email alerting (html)

alerting

#1

I am not sure how to set body.html in email notification of watcher.
Here is what I did, but when I received the email, it did not show the content of html. It only shows the link of html.

  "actions": {
    "email_admin": {
      "email": {
        "profile": "standard",
        "from": "Alerting<logic720@gmail.com>",
        "priority": "high",
        "to": [
          "echowu720@gmail.com"
        ],
        "subject": "Error Monitoring Report",
        "body": {
          "html": "http://www.cnblogs.com/dragonstreak_1/archive/2010/10/17/1853697.html"
        }
      }
    }
  }

(Alexander Reelsen) #2

you have to write the HTML yourself in that field, using HTML tags.


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.