MIME header text is defined only for non-RFC 2822 messages and
non-message/rfc822 parts.
public mimeHeader ( string $id, array $opts = [] ) | ||
$id | string | The MIME ID to obtain the MIME header text for. |
$opts | array | The following options are available: - length: (integer) The length of the substring to return. DEFAULT: The entire text is returned. - peek: (boolean) If set, does not set the '\Seen' flag on the message. DEFAULT: The seen flag is set. - start: (integer) If a portion of the full text is desired to be returned, the starting position is identified here. DEFAULT: The entire text is returned. |