#2690·PHPMailer

Address header not folded with large number of recipients

Author: CentridoxCreated Jun 2, 2022Updated Jun 2, 2022

Hi,

when adding multiple addresses on a To, CC or BCC, it seems that the result is not folded. All separate adresses are checked against the maximum length, but not the resulting output. This leads to an incorrect header being sent.

In the function addrAppend, there is just an implode, should the result of the implode (along with the other values) als be handled by the encodeHeader function?

Please advise