diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2019-10-27 12:32:28 +0100 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2019-10-27 13:28:40 +0100 |
commit | 18de950d8fcc29d5ff33a154dc14225a807225b9 (patch) | |
tree | 5886fdf7f8058783eb4b81fb84fb2b44b4ee34d2 /src | |
parent | 360a27016184bce3039fdbbb45b8f7b6bf02da3a (diff) |
Mail log: Formatting
Diffstat (limited to 'src')
-rw-r--r-- | src/Mail/Transport/LogTransport.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Mail/Transport/LogTransport.php b/src/Mail/Transport/LogTransport.php index 6e351302..632a6bc0 100644 --- a/src/Mail/Transport/LogTransport.php +++ b/src/Mail/Transport/LogTransport.php @@ -31,11 +31,11 @@ class LogTransport extends Transport &$failedRecipients = null ): int { $this->logger->debug( - 'Mail: Send mail "{title}" to "{recipients}":' . PHP_EOL . '{content}', + 'Mail: Send mail "{title}" to "{recipients}":' . PHP_EOL . PHP_EOL . '{content}', [ 'title' => $message->getSubject(), 'recipients' => $this->getTo($message), - 'content' => (string)$message->getHeaders() . PHP_EOL . PHP_EOL . $message->toString(), + 'content' => $message->toString(), ] ); |