‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Mail\MboxTransport Class Reference
Inheritance diagram for TYPO3\CMS\Core\Mail\MboxTransport:

Public Member Functions

 __construct (private readonly string $mboxFile, ?EventDispatcherInterface $dispatcher=null, protected readonly ?LoggerInterface $logger=null,)
 
 __toString ()
 

Protected Member Functions

 doSend (SentMessage $message)
 

Detailed Description

Additional Mbox Transport option

Definition at line 31 of file MboxTransport.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Mail\MboxTransport::__construct ( private readonly string  $mboxFile,
?EventDispatcherInterface  $dispatcher = null,
protected readonly ?LoggerInterface  $logger = null 
)

Create a new MailTransport

Parameters
string$mboxFile‪The file into which to write mail.

Definition at line 38 of file MboxTransport.php.

Member Function Documentation

◆ __toString()

TYPO3\CMS\Core\Mail\MboxTransport::__toString ( )

Definition at line 72 of file MboxTransport.php.

◆ doSend()

TYPO3\CMS\Core\Mail\MboxTransport::doSend ( SentMessage  $message)
protected

Outputs the mail to a text file according to RFC 4155.

Exceptions
LockAcquireException
LockAcquireWouldBlockException
LockCreateException

Definition at line 54 of file MboxTransport.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\fixPermissions().