When i am using subject it adds the subject line on the mail,that works but 
the html part which i have added is not working .I dont get mail with 
previous html format with updated subject line.


  - name: Monitoring
    email_configs:
      -  to: '[email protected]'
         html: '{{ template "email.cloud.html" . }}'        
 ------------------------------this part is not working it seems.
         headers:
           'subject': 'Alert'        -------------------------this works now
Any suggestion on how to resolve this.



Thanks


On Thursday, April 23, 2020 at 6:39:15 PM UTC+5:30, Pooja Chauhan wrote:
>
> Hi ,
> Need suggestion on how to add the email template in alertmanager.yml for 
> different alerts . Since subject has to be changed with each different 
> alerts.
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/b285f441-8c43-4ac3-a417-063a9f31c10a%40googlegroups.com.

Reply via email to