diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2007-08-16 11:28:58 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-08-16 11:28:58 +0000 |
commit | c9dcf849b9d196f27131c21b79ebf1793f3c1cda (patch) | |
tree | bca8bb4b6ad03be4fd4534f2e3d423ffd66371c5 /phpBB/includes/functions_messenger.php | |
parent | 2bbd2fb1f97d4668e82c26badbe89c3d3fdc8169 (diff) | |
download | forums-c9dcf849b9d196f27131c21b79ebf1793f3c1cda.tar forums-c9dcf849b9d196f27131c21b79ebf1793f3c1cda.tar.gz forums-c9dcf849b9d196f27131c21b79ebf1793f3c1cda.tar.bz2 forums-c9dcf849b9d196f27131c21b79ebf1793f3c1cda.tar.xz forums-c9dcf849b9d196f27131c21b79ebf1793f3c1cda.zip |
- two new packages... diff and utf
- only 60 chars for topic title if new post (please see changelog for explanation)
- change utf8_wordwrap (had some bugs david and nils spotted - was not really functional, sorry for this. :D)
git-svn-id: file:///svn/phpbb/trunk@8034 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_messenger.php')
-rw-r--r-- | phpBB/includes/functions_messenger.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php index 735588ce21..ae156436f0 100644 --- a/phpBB/includes/functions_messenger.php +++ b/phpBB/includes/functions_messenger.php @@ -399,12 +399,12 @@ class messenger if ($config['smtp_delivery']) { - $result = smtpmail($this->addresses, mail_encode($this->subject), utf8_wordwrap($this->msg), $err_msg, $headers); + $result = smtpmail($this->addresses, mail_encode($this->subject), wordwrap(utf8_wordwrap($this->msg), 997, "\n", true), $err_msg, $headers); } else { ob_start(); - $result = $config['email_function_name']($mail_to, mail_encode($this->subject), utf8_wordwrap($this->msg), $headers); + $result = $config['email_function_name']($mail_to, mail_encode($this->subject), wordwrap(utf8_wordwrap($this->msg), 997, "\n", true), $headers); $err_msg = ob_get_clean(); } @@ -633,12 +633,12 @@ class queue if ($config['smtp_delivery']) { - $result = smtpmail($addresses, mail_encode($subject), utf8_wordwrap($msg), $err_msg, $headers); + $result = smtpmail($addresses, mail_encode($subject), wordwrap(utf8_wordwrap($msg), 997, "\n", true), $err_msg, $headers); } else { ob_start(); - $result = $config['email_function_name']($to, mail_encode($subject), utf8_wordwrap($msg), $headers); + $result = $config['email_function_name']($to, mail_encode($subject), wordwrap(utf8_wordwrap($msg), 997, "\n", true), $headers); $err_msg = ob_get_clean(); } |