View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001592 | Anope Stable (2.0.x series) | General | public | 2014-04-26 22:27 | 2022-01-10 18:19 |
Reporter | CMF2000 | Assigned To | Sadie | ||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Summary | 0001592: Add MIME to email header | ||||
Description | Emails including non-US-ASCII characters (8-bit) are displayed with wrong encoding when your email client has set a different default encoding. Using MIME with quoted-printable helps to send 8-bit characters in a 7-bit encoded email. | ||||
Tags | No tags attached. | ||||
|
This has been resolved in v2.0 git. |
|
mail.cpp.patch (483 bytes)
--- mail.cpp 2014-03-23 13:59:14.000000000 +0100 +++ mail.cpp 2014-04-22 10:43:38.000000000 +0200 @@ -42,6 +42,9 @@ else fprintf(pipe, "To: \"%s\" <%s>\n", mail_to.c_str(), addr.c_str()); fprintf(pipe, "Subject: %s\n", subject.c_str()); + fprintf(pipe, "MIME-Version: 1.0\n"); + fprintf(pipe, "Content-Type: text/plain; charset=ISO-8859-1\n"); + fprintf(pipe, "Content-Transfer-Encoding: quoted-printable\n"); fprintf(pipe, "%s", message.c_str()); fprintf(pipe, "\n.\n"); |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-04-26 22:27 | CMF2000 | New Issue | |
2014-04-26 22:27 | CMF2000 | File Added: mail.cpp.patch | |
2022-01-10 18:19 | Sadie | Assigned To | => Sadie |
2022-01-10 18:19 | Sadie | Status | new => resolved |
2022-01-10 18:19 | Sadie | Resolution | open => fixed |
2022-01-10 18:19 | Sadie | Note Added: 0006880 |