프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$memoryLimit | integer | The memory limit for use with the PHP temp stream. |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_eol | integer | The size of the EOL sequence. | |
$_hdr_pos | integer | Position of end of headers. | |
$_header_text | string | The header text. | |
$_stream | Horde_Stream | The raw message data in a stream. |
메소드 | 설명 | |
---|---|---|
__construct ( mixed $rfc822, boolean $auto_add_headers = true ) | Constructor. | |
addStandardHeaders ( ) | Check for and add standard headers if needed. | |
getBytes ( ) : integer | Return the length of the message data. | |
getHeaders ( ) : Horde_Mime_Headers | Return the message headers. | |
getMessage ( ) : Horde_Stream | Returns the raw message with the message headers stripped. | |
getMimeObject ( ) : Horde_Mime_Part | Return a Mime object representing the entire message. | |
getString ( ) : stream | Return the raw message data. | |
replaceMime ( Horde_Mime_Part $part ) | Replace the MIME part of the message sent from the client. Headers from the original message are always used. |
메소드 | 설명 | |
---|---|---|
_findHeader ( ) : array | Find the location of the end of the header text. | |
_parseStream ( Horde_Stream $stream ) | Parse a Horde_Stream object to get the header and eol data. |
public __construct ( mixed $rfc822, boolean $auto_add_headers = true ) | ||
$rfc822 | mixed | The incoming message. Either a string or a stream resource. |
$auto_add_headers | boolean | Automatically add the standard Message-ID and User-Agent headers? @since 2.14.0 |
protected _findHeader ( ) : array | ||
리턴 | array | 1st element: Header position, 2nd element: Length of trailing EOL. |
protected _parseStream ( Horde_Stream $stream ) | ||
$stream | Horde_Stream | The stream object. |
public addStandardHeaders ( ) |
public getHeaders ( ) : Horde_Mime_Headers | ||
리턴 | Horde_Mime_Headers | The header object. |
public getMessage ( ) : Horde_Stream | ||
리턴 | Horde_Stream |
public getMimeObject ( ) : Horde_Mime_Part | ||
리턴 | Horde_Mime_Part | The Mime object. |
public replaceMime ( Horde_Mime_Part $part ) | ||
$part | Horde_Mime_Part | The new MIME part. |
protected Horde_Stream $_stream | ||
리턴 | Horde_Stream |
public static int $memoryLimit | ||
리턴 | integer |