Hi everybody,
we just installed PMG in Production and are customizing the daily/weekly Spamreport mails for the users.
Therefore we copied the "/var/lib/pmg/templates/spamreport-verbose.tt" to "/var/lib/pmg/templates/spamreport-custom.tt" and modified it with some more Text in Body and another mail title. Both of these are in german language and contains umlauts (ö,ü,ä).
The file encoding is UTF-8 and the beginning looks like this:
When a User receives such a mail, the mail body is quit fine, all umlauts are displayed correctly. but the umlauts in mail headers title field looks like ISO encoded like this:
Any suggestions how to correctly encode the title concerning the umlauts?
Thx in advance.
Markus
we just installed PMG in Production and are customizing the daily/weekly Spamreport mails for the users.
Therefore we copied the "/var/lib/pmg/templates/spamreport-verbose.tt" to "/var/lib/pmg/templates/spamreport-custom.tt" and modified it with some more Text in Body and another mail title. Both of these are in german language and contains umlauts (ö,ü,ä).
The file encoding is UTF-8 and the beginning looks like this:
Code:
[%- IF timespan == 'week' -%]
[%- SET title = "Wöchentlicher Spam Report für '${pmail}' - ${date}'" -%]
[%- ELSE %]
[%- SET title = "Täglicher Spam Report für '${pmail}' - ${date}" -%]
[%- END -%]
[% BLOCK tooltip %]Received: [% d.date %] [% d.time %]
From: [% d.envelope_sender %]
TO: [% d.receiver %]
Size: [% d.bytes %]
Score: [% d.spamlevel %]
File: [% d.file %]
[% END %]
<html>
<head>
<title>[% title %]</title>
</head>
<body>
<div align=center>
<div style='width:600px;'><h2>[% title %]</h2></div>
.....
<br>
Hier eine Auflistung aller aktuell in Quarantäne befindlichen Spam Mails. Bitte loggen Sie sich zur Quarantäne Verwaltung im <a href='[% managehref | url %]'>Webinterface</a> ein oder verwenden Sie einfach die Links bei jeder hier aufgelisteten Spam Mail.<br>
When a User receives such a mail, the mail body is quit fine, all umlauts are displayed correctly. but the umlauts in mail headers title field looks like ISO encoded like this:
Any suggestions how to correctly encode the title concerning the umlauts?
Thx in advance.
Markus