* Experimental: When sending quoted-printable notification mails,
auto-split after 75 characters. (Ref: http://board.s9y.org/viewtopic.php?f=3&t=16314)
This commit is contained in:
parent
7bfadb90b3
commit
c03db71dc5
@ -3,6 +3,10 @@
|
||||
Version 1.6 ()
|
||||
------------------------------------------------------------------------
|
||||
|
||||
* Experimental: When sending quoted-printable notification mails,
|
||||
auto-split after 75 characters.
|
||||
(Ref: http://board.s9y.org/viewtopic.php?f=3&t=16314)
|
||||
|
||||
* Add new template variable to feed*.tpl files to support new
|
||||
plugins like pubsubhubbub, so that plugins can embed data to the
|
||||
main XML element (onli)
|
||||
|
@ -533,7 +533,7 @@ function serendipity_sendMail($to, $subject, $message, $fromMail, $headers = NUL
|
||||
if (LANG_CHARSET == 'UTF-8') {
|
||||
if (function_exists('imap_8bit')) {
|
||||
$maildata['headers'][] = 'Content-Transfer-Encoding: quoted-printable';
|
||||
$maildata['message'] = str_replace("=\r\n", "", imap_8bit($maildata['message']));
|
||||
$maildata['message'] = imap_8bit($maildata['message']);
|
||||
} else {
|
||||
$maildata['headers'][] = 'Content-Transfer-Encoding: base64';
|
||||
$maildata['message'] = chunk_split(base64_encode($maildata['message']));
|
||||
|
Loading…
x
Reference in New Issue
Block a user