but error is present since the very first version I guess.
email notifications (to the admin) are sent to me as
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
however "quoted-printable" implies that lines *MUST* be broken up at character position 76, which does not happen.
RFC2045 states:
(Soft Line Breaks) The Quoted-Printable encoding REQUIRES that
encoded lines be no more than 76 characters long. If longer
lines are to be encoded with the Quoted-Printable encoding,
"soft" line breaks must be used. An equal sign as the last
character on a encoded line indicates such a non-significant
("soft") line break in the encoded text.
The result is that my mail client (mutt) does not display the contents of the messages correctly.
Also some spam filters (like spamassassin) will put a penalty on messages like that, as spammers also make this mistake a lot
Replacing
$maildata['message'] = str_replace("=\r\n", "", imap_8bit($maildata['message']));
with
$maildata['message'] = chunk_split(imap_8bit($maildata['message']),75,"=\r\n");
did the trick for me.
File: include/functions.inc.php:function serendipity_sendMail() line 530
Also it would be nice, if the messages would have a Auto-submitted header:
http://www.iana.org/assignments/auto-su ... ords.xhtml
I guess
Auto-submitted: auto-generated
would be appropriate.
\Maex