2.6 KiB
CHANGELOG
6.2
- Add a
mailer:testcommand - Add
SentMessageEventandFailedMessageEventevents
6.1
- Make
start()andstop()methods public onSmtpTransport - Improve extensibility of
EsmtpTransport
6.0
- The
HttpTransportExceptionclass takes a string at first argument
5.4
- Enable the mailer to operate on any PSR-14-compatible event dispatcher
5.3
- added the
mailermonolog channel and set it on all transport definitions
5.2.0
- added
NativeTransportFactoryto configure a transport based on php.ini settings - added
local_domain,restart_threshold,restart_threshold_sleepandping_thresholdoptions forsmtp - added
commandoption forsendmail
4.4.0
-
[BC BREAK] changed the
NullTransportDSN fromsmtp://nulltonull://null -
[BC BREAK] renamed
SmtpEnvelopetoEnvelope, renamedDelayedSmtpEnvelopetoDelayedEnvelope -
[BC BREAK] changed the syntax for failover and roundrobin DSNs
Before:
dummy://a || dummy://b (for failover) dummy://a && dummy://b (for roundrobin)
After:
failover(dummy://a dummy://b) roundrobin(dummy://a dummy://b)
-
added support for multiple transports on a
Mailerinstance -
[BC BREAK] removed the
auth_modeDSN option (it is now always determined automatically) -
STARTTLS cannot be enabled anymore (it is used automatically if TLS is disabled and the server supports STARTTLS)
-
[BC BREAK] Removed the
encryptionDSN option (usesmtpsinstead) -
Added support for the
smtpsprotocol (does the same as usingsmtpand port465) -
Added PHPUnit constraints
-
Added
MessageDataCollector -
Added
MessageEventsandMessageLoggerListenerto allow collecting sent emails -
[BC BREAK]
TransportInterfacehas a new__toString()method -
[BC BREAK] Classes
AbstractApiTransportandAbstractHttpTransportmoved underTransportsub-namespace. -
[BC BREAK] Transports depend on
Symfony\Contracts\EventDispatcher\EventDispatcherInterfaceinstead ofSymfony\Component\EventDispatcher\EventDispatcherInterface. -
Added possibility to register custom transport for dsn by implementing
Symfony\Component\Mailer\Transport\TransportFactoryInterfaceand tagging withmailer.transport_factorytag in DI. -
Added
Symfony\Component\Mailer\Test\TransportFactoryTestCaseto ease testing custom transport factories. -
Added
SentMessage::getDebug()andTransportExceptionInterface::getDebugto help debugging -
Made
MessageEventfinal -
add DSN parameter
verify_peerto disable TLS peer verification for SMTP transport
4.3.0
- Added the component.