Closed rimas-kudelis closed 8 years ago
If I use this vacation message:
ä
ö
ü
ß
I get the correct reply with the current version. With your modification, I get:
=E4
=F6
=FC
=DF
In vexim it is always shown correct. There is some encoding issue, but I couldn't figure out where and why.
It's weird that you get escape codes for single-byte characters instead of double-byte. Couple questions:
header("Content-Type: text/html; charset=utf-8");
headers = "Content-Type: text/plain; charset=UTF-8\nContent-Transfer-Encoding: quoted-printable"
? If you do, your e-mail client should be able to undersand that the vacation message needs QP-decoding.I used the latest master and your pull request. I didn't update the whole exim4.conf, most was an old part without the encoding-headers. And php-imap was missing as well. Now everything works as it is supposed to.
Instead of using these functions provided by the IMAP module, which might be unavailable, we can use
quoted_printable_encode()
andquoted_printable_decode()
. This means that we'll only depend on the IMAP module to check user's quota from now on.