0
0
mirror of https://github.com/PHPMailer/PHPMailer.git synced 2024-09-20 10:02:14 +02:00

Avoid excessive folding unless it's really needed.

This commit is contained in:
Marcus Bointon 2019-12-06 11:49:16 +01:00
parent 3ea7a8c3e8
commit ae99006c51
No known key found for this signature in database
GPG Key ID: DE31CD6EB646AA24

View File

@ -3239,7 +3239,7 @@ class PHPMailer
if ('mail' === $this->Mailer) {
$maxlen = static::MAIL_MAX_LINE_LENGTH - $overhead;
} else {
$maxlen = static::STD_LINE_LENGTH - $overhead;
$maxlen = static::MAX_LINE_LENGTH - $overhead;
}
// Select the encoding that produces the shortest output and/or prevents corruption.