category | Zend |
---|---|
package | Zend_Mime |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
addPart(\Zend_Mime_Part $part)
\Zend_Mime_Part
createFromMessage(string $message, string $boundary, string $EOL = \Zend_Mime::LINEEND
) : \Zend_Mime_Message
string
string
string
EOL string; defaults to {@link Zend_Mime::LINEEND}
\Zend_Exception |
---|
\Zend_Mime_Message
generateMessage(string $EOL = \Zend_Mime::LINEEND
) : 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 seperated 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.
string
EOL string; defaults to {@link Zend_Mime::LINEEND}
string
getMime() : \Zend_Mime
If the object was not present, it is created and returned. Can be used to determine the boundary used in this message.
\Zend_Mime
getPartContent(integer $partnum, string $EOL = \Zend_Mime::LINEEND
) : string
integer
string
string
getPartHeaders(integer $partnum, string $EOL = \Zend_Mime::LINEEND
) : string
integer
string
string
getPartHeadersArray(integer $partnum) : array
integer
array
getParts() : array
array
of Zend_Mime_PartisMultiPart() : boolean
boolean
setMime(\Zend_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
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_Exception |
---|
array
$_mime : \Zend_Mime | null
null
$_parts : array
array()