category | Zend |
---|---|
package | Zend_Mime |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
decodeQuotedPrintable(string $string) : string
The charset of the returned string depends on your iconv settings.
string
Encoded string
string
Decoded stringsplitContentType(string $type, string $wantedPart = null
) : string | array
string
content-type
string
the wanted part, else an array with all parts is returned
string
array
wanted part or all parts as array('type' => content-type, partname => value)splitHeaderField(string $field, string $wantedPart= null
, integer|string $firstName= 0
) : string | array
string
string
the wanted part, else an array with all parts is returned
integer
string
key name for the first part
\Zend_Exception |
---|
string
array
wanted part or all parts as array($firstName => firstPart, partname => value)splitMessage(string $message, array $headers, string $body, string $EOL = \Zend_Mime::LINEEND
) : null
The charset of the returned headers depend on your iconv settings.
string
raw message with header and optional content
array
output param, array with headers as array(name => value)
string
output param, content of message
string
EOL string; defaults to {@link Zend_Mime::LINEEND}
null
splitMessageStruct(string $message, string $boundary, string $EOL = \Zend_Mime::LINEEND
) : array | null
string
raw message content
string
boundary as found in content-type
string
EOL string; defaults to {@link Zend_Mime::LINEEND}
\Zend_Exception |
---|
array
null
parts as array('header' => array(name => value), 'body' => content), null if no parts foundsplitMime(string $body, string $boundary) : array
Parts consist of the header and the body of each MIME part.
string
raw body of message
string
boundary as found in content-type
\Zend_Exception |
---|
array
parts with content of each part, empty if no parts found