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
stringEOL string; defaults to {@link Zend_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. If setMime() has been called before this method, the Zend_Mime object set by this call will be used. Otherwise, a new Zend_Mime object is generated and used.
stringEOL string; defaults to {@link Zend_Mime::LINEEND}
stringgetMime() : \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
stringgetPartHeaders(int $partnum, string $EOL) : string
int
string
stringgetPartHeadersArray(int $partnum) : array
int
arraygetParts() : array
arrayof \Zend\Mime\PartisMultiPart() : bool
boolsetMime(\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