mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-17 20:32:41 +01:00
Apply the wordwrap() hack for "To" to PHPMailerLite
Summary: Fixes T12372. Long-term fix is T12404, this is a bandaid in the interim. See T12372 for additional discussion. Test Plan: Confirmed functional by a user in T12372. Reviewers: chad Reviewed By: chad Maniphest Tasks: T12372 Differential Revision: https://secure.phabricator.com/D17501
This commit is contained in:
parent
7626ec0ce1
commit
19af10df37
1 changed files with 4 additions and 0 deletions
4
externals/phpmailer/class.phpmailer-lite.php
vendored
4
externals/phpmailer/class.phpmailer-lite.php
vendored
|
@ -656,6 +656,10 @@ class PHPMailerLite {
|
|||
$addr_str .= implode(', ', $addresses);
|
||||
$addr_str .= $this->LE;
|
||||
|
||||
// NOTE: This is a narrow hack to fix an issue with 1000+ characters of
|
||||
// recipients, described in T12372.
|
||||
$addr_str = wordwrap($addr_str, 75, "\n ");
|
||||
|
||||
return $addr_str;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue