Text encoding in E-mails is wrong since version 4

Started by hitzi, March 09, 2022, 11:31:10 AM

Previous topic - Next topic

hitzi

Hi,

we use E-Mail for some alarms. The E-Mail is defined in this way:
Subject: [%s] %n: %m
Text: [%s] %n: %m - %<currentValue>

The Problem is that %s and %m don't display the german umlauts. It shows a wrong char instead.The same configuration worked fine with before the update to version 4.

Thanks and best regards
Thomas

Victor Kirhenshtein

Hi,

in version 4 SMTP was re-implemented as notification channel, and I suspect that there is a bug in configuration conversion. Could you please share configuration for SMTP channel on your system?

Best regards,
Victor

hitzi

Oh, I didn't check this part of the configs.
We use MailEncoding=iso-8859-1 in the smtp config. iso-8859-1 includes the german umlauts. Is it a bug or should we use another mail encoding?

Victor Kirhenshtein

Try using utf-8, it could be issue with character set transformation internally. Most mail clients should understand utf-8 encoded emails correctly.

Best regards,
Victor