Hi Prashant,

Looking at the email implementation in Alertmanager, "to" should be treated
exactly as "cc" internally (just optionally supplied through a dedicated
YAML field). It's just another header:
https://github.com/prometheus/alertmanager/blob/f59460bfd4bf883ca66f4391e7094c0c1794d158/notify/email/email.go#L53-L70

So I would be surprised if the problem is in Alertmanager itself, rather
than something in the email pipeline after it.

Kind regards,
Julius

On Fri, Jan 20, 2023 at 1:38 PM Prashant Singh <[email protected]>
wrote:

> Dear team,
>
> prometheus alertmanager CC is not working even as add TO_ and CC_ .
>
> TO:  it is working
> CC: it is not working.
>
>
> - name: 'MoniDashboard'
>   email_configs:
>   - send_resolved: true
>     to: 'vinoth.sundaram
>     headers:
>       cc: 'PrashantKumar.Singh1'
>     require_tls: no
>
> thanks
> Prashant
>
> --
> 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/9987573c-ed69-4fb2-94aa-4c37870c540dn%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/9987573c-ed69-4fb2-94aa-4c37870c540dn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Julius Volz
PromLabs - promlabs.com

-- 
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/CAObpH5wv7WVme5ysp720Cj815fJdwATria-%2B0yDW0sG46_82XA%40mail.gmail.com.

Reply via email to