$id
$id : int
Message sequence number
Struct representing an e-mail message header
$id : int
Message sequence number
$uid : int
Message unique identifier
$subject : string
Message subject
$from : string
Message sender (From)
$to : string
Message recipient (To)
$cc : string
Message additional recipients (Cc)
$bcc : string
Message hidden recipients (Bcc)
$replyto : string
Message Reply-To header
$in_reply_to : string
Message In-Reply-To header
$date : string
Message date (Date)
$messageID : string
Message identifier (Message-ID)
$size : int
Message size
$encoding : string
Message encoding
$charset : string
Message charset
$ctype : string
Message Content-type
$timestamp : int
Message timestamp (based on message date)
$bodystructure : string
IMAP bodystructure string
$body : string
IMAP body (RFC822.TEXT)
$bodypart : array
IMAP part bodies
$internaldate : string
IMAP internal date
$references : string
Message References header
$priority : int
Message priority (X-Priority)
$mdn_to : string
Message receipt recipient
$folder : string
IMAP folder this message is stored in
$others : array
Other message headers
$flags : array
Message flags
$list_flags : array
Extra flags (for the messages list)
$list_cols : array
Extra columns content (for the messages list)
| None found |
$structure : \rcube_message_part
Message structure
| None found |
$depth : int
Message thread depth
| None found |
$has_children : bool
Whether the message has references in the thread
| None found |
$flagged_children : int
Number of flagged children (in a thread)
| None found |
$unread_children : int
Number of unread children (in a thread)
| None found |
$parent_uid : int
UID of the message parent (in a thread)
| None found |
$modseq : int
IMAP MODSEQ value
| None found |
$envelope : string
IMAP ENVELOPE
| None found |
$obj_headers : array
Header name to rcube_message_header object property map
| None found |
get(string $name, bool $decode = true) : string|null
Returns header value
| string | $name | Header name |
| bool | $decode | Decode the header content |
Header content
| None found |
set(string $name, string $value) : mixed
Sets header value
| string | $name | Header name |
| string | $value | Header content |
| None found |
from_array(array $arr) : \rcube_message_header
Factory method to instantiate headers from a data array
| array | $arr | Hash array with header values |
instance filled with headers values
| None found |