Zend\Mime\Message::generateMessage
Generate MIME-compliant message from the current configuration
This can be a multipart message if more than one MIME part was added. If only one part is present, the content of this part is returned. If no part had been added, an empty string is returned. Parts are separated by the mime boundary as defined in Zend\Mime\Mime. If {@link setMime()} has been called before this method, the Zend\Mime\Mime object set by this call will be used. Otherwise, a new Zend\Mime\Mime object is generated and used.
Signature
public function generateMessage([string
$EOL = Mime::LINEEND] )
Parameters
$EOL
— string- EOL string; defaults to {@link Zend\Mime\Mime::LINEEND}
Returns
- string