mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-22 00:56:08 +02:00
Update the message time before sending, fixes #424
This commit is contained in:
@@ -49,6 +49,7 @@ class SwiftMailerHandler extends MailHandler
|
||||
{
|
||||
$message = clone $this->message;
|
||||
$message->setBody($content);
|
||||
$message->setDate(time());
|
||||
|
||||
$this->mailer->send($message);
|
||||
}
|
||||
|
Reference in New Issue
Block a user