TransportFactory

Read onlyYes

Table of Contents

Constants

SPOOL_FILE  = 'file'
SPOOL_MEMORY  = 'memory'

Properties

$dispatcher  : EventDispatcherInterface
$logManager  : LogManagerInterface

Methods

__construct()  : mixed
get()  : TransportInterface
createSpool()  : DelayedTransportInterface
Creates a spool from mail settings.

Constants

SPOOL_FILE

public mixed SPOOL_FILE = 'file'

SPOOL_MEMORY

public mixed SPOOL_MEMORY = 'memory'

Properties

$dispatcher

protected EventDispatcherInterface $dispatcher

Methods

get()

public get(array<string|int, mixed> $mailSettings) : TransportInterface
Parameters
$mailSettings : array<string|int, mixed>

Typically from $GLOBALS['TYPO3_CONF_VARS']['MAIL']

Tags
throws
Exception
Return values
TransportInterface

        
On this page

Search results