All notable changes to this project will be documented in this file, in reverse chronological order by release.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- #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.
- #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.
- Nothing.
- Nothing.
- #151 fixes a condition
in the
Sendmail
transport whereby CLI parameters were not properly trimmed.
- Nothing.
- Nothing.
- Nothing.
- #93 fixes a situation
whereby
getSender()
was unintentionally creating a blankSender
header, instead of returningnull
if none exists, fixing an issue in the SMTP transport. - #105 fixes the header
implementation to allow zero (
0
) values for header values. - #116 fixes how the
AbstractProtocol
handlesstream_socket_client()
errors, ensuring an exception is thrown with detailed information regarding the failure.
- Nothing.
- Nothing.
- Nothing.
- Fixes ZF2016-04.
- #38 adds support in the IMAP protocol adapter for fetching items by UID.
- #88 adds and publishes documentation to https://zendframework.github.io/zend-mail/
- Nothing.
- Nothing.
- #9 fixes the
Zend\Mail\Header\Sender::fromString()
implementation to more closely follow the ABNF defined in RFC-5322, specifically to allow addresses in the formuser@domain
(with no TLD). - #28 and
#87 fix header value
validation when headers wrap using the sequence
\r\n\t
; prior to this release, such sequences incorrectly marked a header value invalid. - #37 ensures that empty lines do not result in PHP errors when consuming messages from a Courier IMAP server.
- #81 fixes the validation
in
Zend\Mail\Address
to also DNS hostnames as well as local addresses.
- #41 adds support for IMAP delimiters in the IMAP storage adapter.
- #80 adds:
Zend\Mail\Protocol\SmtpPluginManagerFactory
, for creating and returning anSmtpPluginManagerFactory
instance.Zend\Mail\ConfigProvider
, which maps theSmtpPluginManager
to the above factory.Zend\Mail\Module
, which does the same, for zend-mvc contexts.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- #44 fixes an issue with decoding of addresses where the full name contains a comma (e.g., "Lastname, Firstname").
- #45 ensures that the message parser allows deserializing message bodies containing multiple EOL sequences.
- #78 fixes the logic of
HeaderWrap::canBeEncoded()
to ensure it returns correctly for header lines containing at least one multibyte character, and particularly when that character falls at specific locations (per a reported bug at php.net).
- Nothing.
- Nothing.
- Nothing.
- #72 re-implements
SmtpPluginManager
as a zend-servicemanagerAbstractPluginManager
, after reports that making it standalone broke important extensibility use cases (specifically, replacing existing plugins and/or providing additional plugins could only be managed with significant code changes).
- Nothing.
- Nothing.
- Nothing.
- #47 updates the
component to remove the (soft) dependency on zend-servicemanager, by
altering the
SmtpPluginManager
to implement container-interop'sContainerInterface
instead of extending fromAbstractPluginManager
. Usage remains the same, though developers who were adding services to the plugin manager will need to instead extend it now. - #70 updates dependencies to stable, forwards-compatible versions, and removes unused dependencies.
- #12 adds support for simple comments in address lists.
- #13 adds support for groups in address lists.
- Nothing.
- Nothing.
- #26 fixes the
ContentType
header to properly handle parameters with encoded values. - #11 fixes the
behavior of the
Sender
header, ensuring it can handle domains that do not contain a TLD, as well as addresses referencing mailboxes (no domain). - #24 fixes parsing of mail messages that contain an initial blank line (prior to the headers), a situation observed in particular with GMail.