Currently, Message::createFromMessage( $message, $boundary [, $EOL] ) only works for multipart messages.
This PR allows omitting the $boundary parameter, in which case $message will be interpreted as the sole part of the message.
One place where this would be helpful parsing the body of non-multipart e-mail messages. That would allow consistent handling of said body as a Message object.
Currently,
Message::createFromMessage( $message, $boundary [, $EOL] )
only works for multipart messages.This PR allows omitting the
$boundary
parameter, in which case$message
will be interpreted as the sole part of the message.One place where this would be helpful parsing the body of non-multipart e-mail messages. That would allow consistent handling of said body as a
Message
object.