New HTML email : why the host cell is wrapped?

CMK version:
2.4.0.p5
OS version:
debian 12

Hi,

coming from Check Mk raw 2.1, just installed checkmk 2.4 and i’m getting familiar with the new notification system and the new HTML email template.

I can receive mails, from that point, it’s OK

but there is one thing in this new html design that bothers me :

In te first part : Summary, the host cell is containing the host name of my server, but it looks like this cell is wrapped, because the host name goes into 3 lines because of the length of my hostname.

for example : if hostname is mk-server-01, in the email it will looks like this :

mk-hos
tname
-01

Why ? is it a bug ? can i edit this template to avoid this ?

Thank you

since i can not edit my inital post i would like to correct myself

for example : if hostname is mk-server-01, in the email it will looks like this :

simple confusion with my example, this is not mk-server-01 but mk-hostname-01.

I checked in one of my systems with the latest 2.4 release and i don’t see this behavior.

Where exactly happens the rendering problem?

It’s exactly at the same place as in your screenshot.

I ran some additional tests, and with the same server version, I couldn’t reproduce the issue.

The main difference is that I’m using a different SMTP relay server than the one where I encountered this weird rendering problem. Could the SMTP relay require some specific configuration? It’s hard to provide the configuration of this relay since I don’t own it.

I’ll run more tests tomorrow and keep you updated.

Ok, I just found a way to reproduce the issue.

This problem occurs when I check “bulk notifications” in my notification settings.

I previously told you that the rendering issue appeared exactly in the same place as your screenshot, but I was mistaken.

Actually, when you enable bulk notifications, a new block is displayed at the top of the email, and this is where the rendering problem occurs.

UPDATE: It appears that this rendering issue has been resolved starting from version 2.4-p8 :

### Notifications

* [18075 ](https://checkmk.com/werk/18075) FIX: HTML Email: Better styling for bulk summary table… 

Thank you for your help

@andreas-doehler Is it possible to show the event summary in the template only when there are bulk notifications? Currently, it always shows the “Event Summary” header even for standalone alerts.