MIME header class input: header_string or array You must call parseHeader() function after creating object in order to fill object's parameters.
Located in /class/mime/Rfc822Header.class.php (line 26)
Bcc header
Cc header
Content Type object
Date header
Original date header as fallback for unparsable dates
Disposition notification for requesting message delivery notification (MDN)
Delivery notification (DR)
From header
In-reply-to header
Mail-Followup-To header
Message-ID header
Extra header
only needed for constructing headers in delivery class
Priority header
References header
Reply-To header
Subject header
To header
X-Mailer header
SpamAssassin 'x-spam-status' header
function to get the array of addresses out of the header.
function to get the address strings out of the header.
example1: header->getAddr_s('to'). example2: header->getAddr_s(array('to', 'cc', 'bcc'))
Fills mlist array keys in rfc822Header object
recursive function for parsing address strings and storing them in an address stucture object.
personal name: encoded: =?charset?Q|B?string?= quoted: "string" normal: string email : <mailbox@host> : mailbox@host This function is also used for validating addresses returned from compose That's also the reason that the function became a little bit huge
Fills disposition object in rfc822Header object
Parse header field according to field type
Normalise the different Priority headers into a uniform value, namely that of the X-Priority header (1, 3, 5). Supports: Priority, X-Priority, Importance.
X-MS-Mail-Priority is not parsed because it always coincides with one of the other headers.
NOTE: this is actually a duplicate from the code in functions/imap_messages:parseFetch(). I'm not sure if it's ok here to call that function?
Parses the X-Spam-Status header
RFC2184
Documentation generated on Sat, 25 May 2013 04:20:22 +0200 by phpDocumentor 1.4.3