This repository was archived by the owner on Jan 30, 2020. It is now read-only.
zend-mail 2.8.0
·
144 commits
to master
since this release
Added
- #117 adds support configuring whether or not an SMTP transport should issue a
QUITat__destruct()and/or end of script execution. Use theuse_complete_quitconfiguration flag and/or thesetuseCompleteQuit($flag)method to change the setting (default is to enable this behavior, which was the previous behavior). - #128 adds a requirement on ext/iconv, as it is used internally.
- #132 bumps minimum php version to 5.6
- #144 adds support for TLS versions 1.1 and 1.2 for all protocols supporting TLS operations.
Changed
- #140 updates the
Sendmailtransport such thatFromandSenderaddresses are passed toescapeshellarg()when forming the-fargument for thesendmailbinary. While malformed addresses should never reach this class, this extra hardening helps ensure safety in cases where a developer codes their ownAddressInterfaceimplementations for these types of addresses. - #141 updates
Zend\Mail\Message::getHeaders()to throw an exception in a case where the$headersproperty is not aHeadersinstance. - #150 updates the
Smtpprotocol to allow an empty ornonevalue for the SSL configuration value.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #151 fixes a condition in the
Sendmailtransport whereby CLI parameters were not properly trimmed.