Releases: zbateson/mail-mime-parser
Fix for installation issue on some systems
Fixes an issue in 1.1.4 where the 'unzip' utility complained on some systems about non-ascii characters when installing with composer, see #88
Added .gitignore to avoid installing test files in production installs (thanks @ondrejmirtes, #88)
Created test for files with non-ascii characters in their names to avoid this problem in the future
Fix for reading large streams with resource handle
Add getAllHeaders for parts
- Small addition of 'getAllHeaders', returns an array of header objects so they can be traversed
- Fixed typehinting in Message.php (@DRoet)
Fix for mime-encoded header parts
Fixes error in decoding quoted-printable subject #83
Fix for mime-encoded header parts
Fixes error in decoding quoted-printable subject #83
Fix for long header lines, header parameters with split mime-encoded parts
Fix for long header lines
Patch for header lines longer than the RFC-imposed 998, which may cause header processing to stop and remaining lines to be considered part of the body #81
IdHeader, ReceivedHeader, saveContent and more
Changes in this release:
- New header classes and parsing for the following types of headers:
** IdHeader: for Content-ID, Message-ID, In-Reply-To and References
** ReceivedHeader: for "Received", check out (https://mail-mime-parser.org/api/1.1/classes/ZBateson.MailMimeParser.Header.ReceivedHeader.html)[the documentation]. - Find a part by Content-ID, for example:
$message->getPartByContentId('a part id');
- New MessagePart::getBinaryContentStream and saveContent (so you can $message->getBinaryContentStream() without it attaching charset conversion stream, and $message->saveContent() to save the stream as-is without charset conversion).
- $message->save() now also accepts a string filename to write to file
- Moved out charset library from stream-decorators and into its own mb-wrapper
- Renamed github zbateson/MailMimeParser to zbateson/mail-mime-parser and zbateson/StreamDecorators to stream-decorators
Add missing Microsoft charset codes
Add missing Microsoft codes as found in #79 and discussed/fixed in ddeboer/imap#270.
1.0 release
- Documentation fixes
- phpunit versions based on php version
- Fix copying/moving missing content-* headers when creating multipart messages from non-multipart ones
- Change SimpleDi's name to Container
- Move documentation to website to support 0.4* docs and 1.0 docs
For upgrade instructions please see the Upgrade Guide.