Skip to content

Commit

Permalink
Merge pull request PHPMailer#262 from AnrDaemon/patch-1
Browse files Browse the repository at this point in the history
Add indent for multiline server replies
  • Loading branch information
Synchro committed Aug 7, 2014
2 parents 9a4646e + 4dc19b8 commit a666aea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion class.smtp.php
Expand Up @@ -167,7 +167,9 @@ protected function edebug($str)
break;
case 'echo':
default:
echo gmdate('Y-m-d H:i:s')."\t".trim($str)."\n";
echo gmdate('Y-m-d H:i:s') . "\t" . str_replace(
"\r\n", "\r\n \t ", trim($str)
)."\n";
}
}

Expand Down

0 comments on commit a666aea

Please sign in to comment.