addPart()
createFromMessage()
generateMessage()
getMime()
getPartContent()
getPartHeaders()
getPartHeadersArray()
getParts()
isMultiPart()
setMime()
setParts()
_disassembleMime()
$mime
$parts
addPart(\Zend\Mime\Part $part)
\Zend\Mime\Part
createFromMessage(string $message, string $boundary, string $EOL) : \Zend\Mime\Message
string
string
string
EOL string; defaults to {@link Zend\Mime\Mime::LINEEND}
\Zend\Mime\Exception\RuntimeException |
---|
generateMessage(string $EOL) : string
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 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.
string
EOL string; defaults to {@link Zend\Mime\Mime::LINEEND}
string
getMime() : \Zend\Mime\Mime
If the object was not present, it is created and returned. Can be used to determine the boundary used in this message.
getPartContent(int $partnum, string $EOL) : string
int
string
string
getPartHeaders(int $partnum, string $EOL) : string
int
string
string
getPartHeadersArray(int $partnum) : array
int
array
getParts() : array
array
of \Zend\Mime\PartisMultiPart() : bool
bool
setMime(\Zend\Mime\Mime $mime)
This can be used to set the boundary specifically or to use a subclass of Zend\Mime for generating the boundary.
\Zend\Mime\Mime
setParts(array $parts)
array
_disassembleMime(string $body, string $boundary) : array
Parts consist of the header and the body of each MIME part.
string
string
\Zend\Mime\Exception\RuntimeException |
---|
array
$mime
$parts