3 All notable changes to this project will be documented in this file, in reverse chronological order by release.
25 - [#32](https://github.com/zendframework/zend-mime/pull/32) corrects a potential infinite loop when parsing lines consisting of only spaces and dots.
31 - [#27](https://github.com/zendframework/zend-mime/pull/27) adds a fluent
32 interface to the various setters in `Zend\Mime\Message`.
34 - [#28](https://github.com/zendframework/zend-mime/pull/28) adds support for PHP
43 - [#28](https://github.com/zendframework/zend-mime/pull/28) removes support for
46 - [#28](https://github.com/zendframework/zend-mime/pull/28) removes support for
51 - [#26](https://github.com/zendframework/zend-mime/pull/26) ensures commas
52 included within list data items are ASCII encoded, ensuring that the items
53 will split on commas correctly (instead of splitting within an item).
55 - [#30](https://github.com/zendframework/zend-mime/pull/30) fixes how EOL
56 characters are detected, to ensure that mail using `\r\n` as an EOL sequence
57 (including mail emitted by Cyrus and Dovecot) will be properly parsed.
63 - [#22](https://github.com/zendframework/zend-mime/pull/22) adds the ability to
64 decode a single-part MIME message via `Zend\Mime\Message::createFromMessage()`
65 by omitting the `$boundary` argument.
69 - [#14](https://github.com/zendframework/zend-mime/pull/14) adds checks for
70 duplicate parts when adding them to a MIME message, and now throws an
71 `InvalidArgumentException` when detected.
83 - [#13](https://github.com/zendframework/zend-mime/pull/13) fixes issues with
84 qp-octets produced by Outlook.
85 - [#17](https://github.com/zendframework/zend-mime/pull/17) fixes a syntax error
86 in how are thrown by `Zend\Mime\Part::setContent()`.
87 - [#18](https://github.com/zendframework/zend-mime/pull/18) fixes how non-ASCII
88 header values are encoded, ensuring that it allows the first word to be of
95 - [#6](https://github.com/zendframework/zend-mime/pull/6) adds
96 `Mime::mimeDetectCharset()`, which can be used to detect the charset
97 of a given string (usually a header) according to the rules specified in
112 ## 2.5.2 - 2016-04-20
116 - [#8](https://github.com/zendframework/zend-mime/pull/8) and
117 [#11](https://github.com/zendframework/zend-mime/pull/11) port documentation
118 from the zf-documentation repo, and publish it to
119 https://zendframework.github.io/zend-mime/
131 - [#2](https://github.com/zendframework/zend-mime/pull/2) fixes
132 `Mime::encodeBase64()`'s behavior when presented with lines of invalid
133 lengths (not multiples of 4).
134 - [#4](https://github.com/zendframework/zend-mime/pull/4) modifies
135 `Mime::encodeQuotedPrintable()` to ensure it never creates a header line
136 consisting of only a dot (concatenation character), a situation that can break
138 - [#7](https://github.com/zendframework/zend-mime/pull/7) provides a patch that
139 allows parsing MIME parts that have no headers.
140 - [#9](https://github.com/zendframework/zend-mime/pull/9) updates the
142 - allow PHP 5.5+ or PHP 7+ versions.
143 - allow zend-stdlib 2.7+ or 3.0+ verions.