report a bug |  advanced search |  statistics |  developer log in/out
Bug #68 mlmmj doesn't encode subject prefix
Submitted: 2017-12-29 09:49 UTC Modified: 2018-01-16 01:49 UTC
From: zhb at iredmail dot org Assigned:
Status: Duplicate
Mlmmj Version: 1.3.0.0 OS: CentOS 7
MTA: Postfix MTA Version:
View Add Comment Developer Edit
You must login as a developer to do anything here. You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
 [2017-12-29 09:49 UTC] zhb at iredmail dot org
Description:
------------
I use a Chinese word as mail subject prefix, but mlmmj doesn't encode it.

For example:

*) in mlmmj, mail subject prefix is set to a Chinese word, e.g. '[中文]'.
*) Compose a message with subject: "Test"
*) Email sent out by mlmmj has this mail header:

```
Subject: <Chinese> Test
```

Another real-world example, compose email with subject "中文" (both mlmmj subject 
prefix and original mail subject are same Chinese word):

```
Subject: [中文] =?UTF-8?Q?=E4=B8=AD=E6=96=87?=
```

Expected result:
----------------
Mlmmj should construct new mail subject with mlmmj subject prefix and original mail 
subject first, then encode it.