Thursday, September 13, 2012

PHPlist - issues with spaces into words

Our Sai Inspires emails has had this problem for years - some random word(s) will have spaces introduced in them. Instead of 'message', for eg, it would be seen as 'mes sage' or something like that. Apparently this was due to the long message string, the MTA seems to put in a newline by itself. This problem was discussed here, but we did not implement it in our setup since PA thought copy-pasting the text separately would solve the issue. But of course, it did not, so PB implemented this solution now.
$htmlmessage = wordwrap($htmlmessage, 60, "\r\n");
in admin/sendemaillib.php @ line 634

No comments:

Post a Comment