Added
-
#213 re-adds support for PHP 5.6 and 7.0; ZF policy is never
to bump the major version of a PHP requirement unless the package is bumping major version. -
#172 adds the flag
connection_time_limitto the possibleZend\Mail\Transport\Smtpoptions.
This flag, when provided as a positive integer, and in conjunction with theuse_complete_quitflag, will
reconnect to the server after the specified interval. -
#166 adds functionality for handling
ReferencesandIn-Reply-Toheaders. -
#148 adds the optional constructor argument
$commentand the methodgetComment()to the class
Zend\Mail\Address. When a comment is present,toString()will include it in the representation. -
#148 adds the method
Zend\Mail\Address::fromString(string $address, $comment = null) : Address.
The method can be used to generate an instance from a string containing a(name)?<email>value.
The$commentargument can be used to associate a comment with the address.
Changed
-
#196 updates how the
Headers::fromString()handles header line continuations
that include a single empty line, ensuring they are concatenated to the
header value. -
#165 changes the
AbstractAddressListIDN<->ASCII conversion; it now no longer requires
ext-intl, but instead uses a bundled true/punycode library to accomplish it. This also means that
the conversions will work on any PHP installation.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
-
#211 fixes how the
ContentTypeheader class parses the value it receives. Previously,
it was incorrectly splitting the value on semi-colons that were inside quotes; in now correctly
ignores them. -
#204 fixes
HeaderWrap::mimeDecodeValue()behavior when handling a multiline UTF-8
header split across a character. The fix will only work when ext-imap is present, however. -
#164 fixes the return value from
Zend\Mail\Protocol\Imap::capability()when no response is
returned from the server; previously, it returnedfalse, but now correctly returns an empty array. -
#148 fixes how
Zend\Mail\Header\AbstractAddressListparses address values, ensuring
that they now retain any address comment discovered to include in the generatedZend\Mail\Addressinstances. -
#147 fixes how address lists are parsed, expanding the functionality to allow either
,or;delimiters (or both in combination).