NativeTransportFactory
to configure a transport based on php.ini settingslocal_domain
, restart_threshold
, restart_threshold_sleep
and ping_threshold
options for smtp
command
option for sendmail
NullTransport
DSN from smtp://null
to null://null
SmtpEnvelope
to Envelope
, renamed DelayedSmtpEnvelope
to
DelayedEnvelope
Before:
dummy://a || dummy://b (for failover) dummy://a && dummy://b (for roundrobin)
After:
failover(dummy://a dummy://b) roundrobin(dummy://a dummy://b)
Mailer
instanceauth_mode
DSN option (it is now always determined automatically)encryption
DSN option (use smtps
instead)smtps
protocol (does the same as using smtp
and port 465
)MessageDataCollector
MessageEvents
and MessageLoggerListener
to allow collecting sent emailsTransportInterface
has a new __toString()
methodAbstractApiTransport
and AbstractHttpTransport
moved under Transport
sub-namespace.Symfony\Contracts\EventDispatcher\EventDispatcherInterface
instead of Symfony\Component\EventDispatcher\EventDispatcherInterface
.Symfony\Component\Mailer\Transport\TransportFactoryInterface
and tagging with mailer.transport_factory
tag in DI.Symfony\Component\Mailer\Test\TransportFactoryTestCase
to ease testing custom transport factories.SentMessage::getDebug()
and TransportExceptionInterface::getDebug
to help debuggingMessageEvent
finalverify_peer
to disable TLS peer verification for SMTP transport