MboxTransport extends AbstractTransport
Additional Mbox Transport option
Table of Contents
Properties
- $logger : LoggerInterface|null
- The logger instance.
Methods
- __construct() : mixed
- Create a new MailTransport
- __toString() : string
- doSend() : void
- Outputs the mail to a text file according to RFC 4155.
Properties
$logger
The logger instance.
protected
LoggerInterface|null
$logger
Methods
__construct()
Create a new MailTransport
public
__construct(string $mboxFile[, EventDispatcherInterface|null $dispatcher = null ][, LoggerInterface|null $logger = null ]) : mixed
Parameters
- $mboxFile : string
- $dispatcher : EventDispatcherInterface|null = null
- $logger : LoggerInterface|null = null
__toString()
public
__toString() : string
Return values
stringdoSend()
Outputs the mail to a text file according to RFC 4155.
protected
doSend(SentMessage $message) : void
Parameters
- $message : SentMessage