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