mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Fix incorrect handling of multi-line Header
In my setup, initial version of RemoveHeaderFromHeaders does not remove properly multi-line Headers (only the first line is removed). As a consequence, when using php mail() option for outgoing e-mail, strange things happen when the "To" field contains more than 3 recipients.
This commit is contained in:
parent
075293204e
commit
0912ad75ed
1 changed files with 1 additions and 1 deletions
|
|
@ -788,7 +788,7 @@ END;
|
||||||
{
|
{
|
||||||
if (0 < \strlen($sLine))
|
if (0 < \strlen($sLine))
|
||||||
{
|
{
|
||||||
$sFirst = $sLine{1};
|
$sFirst = \substr($sLine,0,1);
|
||||||
if (' ' === $sFirst || "\t" === $sFirst)
|
if (' ' === $sFirst || "\t" === $sFirst)
|
||||||
{
|
{
|
||||||
if (!$bSkip)
|
if (!$bSkip)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue