MboxTransport extends AbstractTransport
Additional Mbox Transport option
This class is handled internally in TransportFactory
Table of Contents
Properties
- $logger : LoggerInterface|null
Methods
- __construct() : mixed
- Create a new MailTransport
- __toString() : string
- doSend() : void
- Outputs the mail to a text file according to RFC 4155.
Properties
$logger read-only
protected
LoggerInterface|null
$logger
= null
Methods
__construct()
Create a new MailTransport
public
__construct(string $mboxFile[, EventDispatcherInterface|null $dispatcher = null ][, LoggerInterface|null $logger = null ]) : mixed
Parameters
- $mboxFile : string
-
The file into which to write mail.
- $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