4.4 KiB
CHANGELOG
7.3
- Add DSN param
retry_periodto override default email transport retry period - Add
Dsn::getBooleanOption() - Add DSN param
source_ipto allow binding to a (specific) IPv4 or IPv6 address. - Add DSN param
require_tlsto enforce use of TLS/STARTTLS - Add
DkimSignedMessageListener,SmimeEncryptedMessageListener, andSmimeSignedMessageListener
7.2
-
Deprecate
TransportFactoryTestCase, extendAbstractTransportFactoryTestCaseinsteadThe
testIncompleteDsnException()test is no longer provided by default. If you make use of it by implementing theincompleteDsnProvider()data providers, you now need to use theIncompleteDsnTestTrait. -
Make
TransportFactoryTestCasecompatible with PHPUnit 10+ -
Support unicode email addresses such as "dømi@dømi.example"
7.1
- Dispatch Postmark's "406 - Inactive recipient" API error code as a
PostmarkDeliveryEventinstead of throwing an exception - Add DSN param
auto_tlsto disable automatic STARTTLS - Add support for allowing some users even if
recipientsis defined inEnvelopeListener
7.0
- Remove the OhMySmtp bridge in favor of the MailPace bridge
6.4
- Add DSN parameter
peer_fingerprintto verify TLS certificate fingerprint - Change the default port for the
mailjet+smtptransport from 465 to 587
6.3
- Add
MessageEvent::reject()to allow rejecting an email before sending it - Change the default port for the
mailgun+smtptransport from 465 to 587 - Add
$authenticatorsparameter inEsmtpTransportconstructor andEsmtpTransport::setAuthenticators()to allow overriding of default eSMTP authenticators
6.2.7
- [BC BREAK] The following data providers for
TransportFactoryTestCaseare now static:supportsProvider(),createProvider(),unsupportedSchemeProvider()andincompleteDsnProvider()
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.