All notable changes to this project will be documented in this file, in reverse chronological order by release.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- #37 adds support for PHP 7.3.
- Nothing.
- Nothing.
- Nothing.
- #36 fixes
Zend\Mime\Decode::splitMessage
to setZend\Mail\Headers
instance always for$headers
parameter. Before, when messages without headers was provided,$headers
was an empty array.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- #32 corrects a potential infinite loop when parsing lines consisting of only spaces and dots.
-
#27 adds a fluent interface to the various setters in
Zend\Mime\Message
. -
#28 adds support for PHP versions 7.1 and 7.2.
- Nothing.
-
#26 ensures commas included within list data items are ASCII encoded, ensuring that the items will split on commas correctly (instead of splitting within an item).
-
#30 fixes how EOL characters are detected, to ensure that mail using
\r\n
as an EOL sequence (including mail emitted by Cyrus and Dovecot) will be properly parsed.
- #22 adds the ability to
decode a single-part MIME message via
Zend\Mime\Message::createFromMessage()
by omitting the$boundary
argument.
- #14 adds checks for
duplicate parts when adding them to a MIME message, and now throws an
InvalidArgumentException
when detected.
- Nothing.
- Nothing.
- #13 fixes issues with qp-octets produced by Outlook.
- #17 fixes a syntax error
in how are thrown by
Zend\Mime\Part::setContent()
. - #18 fixes how non-ASCII header values are encoded, ensuring that it allows the first word to be of arbitrary length.
- #6 adds
Mime::mimeDetectCharset()
, which can be used to detect the charset of a given string (usually a header) according to the rules specified in RFC-2047.
- Nothing.
- Nothing.
- Nothing.
- #8 and #11 port documentation from the zf-documentation repo, and publish it to https://zendframework.github.io/zend-mime/
- Nothing.
- Nothing.
- #2 fixes
Mime::encodeBase64()
's behavior when presented with lines of invalid lengths (not multiples of 4). - #4 modifies
Mime::encodeQuotedPrintable()
to ensure it never creates a header line consisting of only a dot (concatenation character), a situation that can break parsing by Outlook. - #7 provides a patch that allows parsing MIME parts that have no headers.
- #9 updates the
dependencies to:
- allow PHP 5.5+ or PHP 7+ versions.
- allow zend-stdlib 2.7+ or 3.0+ verions.