We are attempting to change the look and feel of the email body that we want to send associated to the alert rules being fired.
This is not a feature in the alert rules area, so we researched a bit and found the HTML file that Grafana uses for this purpose. So we edited it in order to add a couple of PNG images to the original HTML code.
We tested the changes to the HTML file by restarting our Grafana docker, and pressing the “Test” button in a Contact Point, and it worked fine. The modified email was received in the destination mailbox.
However, when a rule is fired, the email is not received.
¿ Has anyone tried the same with good results? Any help will be greatly appreciated.
Best regards, Rogelio
PS: I have seen a similar posting, but in my case I just want to add a couple of images to the original email body. The strange thing here is that the Test procedure succeeds whereas once fired, the rule fails in sending the email with the modified body.
Grafana version 9.3.1 running on docker.
HTML file name: ng_alert_notification.html