Introduction

Zend\Mime\Mime is a support class for handling multipart MIME messages; zend-mail relies on it for both parsing and creating multipart messages. Zend\Mime\Message can also be consumed by applications requiring general MIME support.

Static Methods and Constants

Zend\Mime\Mime provides a set of static helper methods to work with MIME:

Zend\Mime\Mime defines a set of constants commonly used with MIME messages:

Instantiating Zend\Mime

When instantiating a Zend\Mime\Mime object, a MIME boundary is stored that is used for all instance calls. If the constructor is called with a string parameter, this value is used as the MIME boundary; if not, a random MIME boundary is generated.

A Zend\Mime\Mime object has the following methods: