zendframework/zend-mime
Zend\Mime is a PHP library for creating and parsing MIME messages. Build multipart emails, manage MIME parts, boundaries, headers, and content types/encodings, and handle attachments reliably—useful for mail composition and transport integration.
#27 adds a fluent interface to the various setters in Zend\Mime\Message.
#28 adds support for PHP versions 7.1 and 7.2.
#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.
Zend\Mime\Message::createFromMessage() by omitting the $boundary argument.InvalidArgumentException when detected.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.Mime::encodeBase64()'s behavior when presented with lines of invalid lengths (not multiples of 4).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.How can I help you explore Laravel packages today?