diff --git a/src/SwiftMailer/Transport/FileTransport.php b/src/SwiftMailer/Transport/FileTransport.php index 69b47e6..6e8d015 100644 --- a/src/SwiftMailer/Transport/FileTransport.php +++ b/src/SwiftMailer/Transport/FileTransport.php @@ -120,7 +120,7 @@ public function send(Swift_Mime_Message $message, &$failedRecipients = null) protected function doSend(Swift_Mime_Message $message, &$failedRecipients = null) { $body = $message->toString(); - $fileName = $this->path.'/'.date('Y-m-d H:i:s'); + $fileName = $this->path.'/'.date('Y-m-d H_i_s'); for ($i = 0; $i < $this->retryLimit; ++$i) { /* We try an exclusive creation of the file. This is an atomic operation, it avoid locking mechanism */