This repository has been archived by the owner on Jan 30, 2020. It is now read-only.
zend-mail 2.8.0
weierophinney
released this
08 Jun 20:06
·
144 commits
to master
since this release
Added
- #117 adds support configuring whether or not an SMTP transport should issue a
QUIT
at__destruct()
and/or end of script execution. Use theuse_complete_quit
configuration 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
Sendmail
transport such thatFrom
andSender
addresses are passed toescapeshellarg()
when forming the-f
argument for thesendmail
binary. While malformed addresses should never reach this class, this extra hardening helps ensure safety in cases where a developer codes their ownAddressInterface
implementations for these types of addresses. - #141 updates
Zend\Mail\Message::getHeaders()
to throw an exception in a case where the$headers
property is not aHeaders
instance. - #150 updates the
Smtp
protocol to allow an empty ornone
value for the SSL configuration value.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #151 fixes a condition in the
Sendmail
transport whereby CLI parameters were not properly trimmed.