View Issue Details

IDProjectCategoryView StatusLast Update
0018131phpList 3 applicationphpListpublic18-02-19 10:33
ReporterPeter Jochum Assigned To 
Status newResolutionopen 
PlatformLinuxOSRed Hat EnterpriseOS VersionSantiago
Product Version3.2.4 
Target Version3.5.0 
Summary0018131: Unexpected Content-Transfer-Encoding: quoted-printable
DescriptionMails contained unexpected newlines that broke formatting (when they occured inside tags) on some mail-clients/providers ( This happend after the upgrade to PHPList 3.2.4 (from 2.x).

After a bit of research I discovered that the variable $encoding='base64' in class PHPlistMailer is not used.

Instead, in the function add_html a constant HTMLEMAIL_ENCODING is set for $this->Encoding. Adding define("HTMLEMAIL_ENCODING","base64") to config.php fixes the problem for us.

Additional InformationPeople who are directed to to issue 15603 in the config file ('WORDWRAP_HTML') should know about this issue as well.It can be the reason why newlines are inserted in their mails.
TagsNo tags attached.


Peter Jochum

02-06-16 11:57


newline_tag.png (13,915 bytes)   
newline_tag.png (13,915 bytes)   


07-06-16 21:10

administrator   ~0057760

Interesting. That may require setting a different default.