The MIME_Headers:: class contains generic functions related to handling the headers of mail messages.
The default character set to use for headers should be defined in the variable $GLOBALS['mime_headers']['default_charset'] (defaults to US-ASCII per RFC 2045).
$Horde: framework/MIME/MIME/Headers.php,v 1.29.10.30 2009/04/08 16:26:35 jan Exp $
Copyright 2002-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
Located in /MIME/MIME/Headers.php (line 25)
The User-Agent string to use.
THIS VALUE SHOULD BE OVERRIDEN BY ALL SUBCLASSES.
Cached output of the MIME_Structure::parseMIMEHeaders() command.
The sequence to use as EOL for the headers.
The default is currently to output the EOL sequence internally as just "\n" instead of the canonical "\r\n" required in RFC 822 & 2045. To be RFC complaint, the full <CR><LF> EOL combination should be used when sending a message.
The internal flags array.
The header object returned from imap_headerinfo().
The internal headers array.
Cached output of the imap_fetchheader() command.
The index of the message.
Constructor.
Generate the user agent description header.
Generate delivery receipt headers.
Add a header to the header array.
Generate the 'Message-ID' header.
Add any MIME headers required for the MIME_Part.
Generate the 'Received' header for the Web browser->Horde hop (attempts to conform to guidelines in RFC 2821).
Generate the 'Resent' headers (conforms to guidelines in RFC 2822 [3.6.6]).
Has the header been altered from the original?
Build the flags array.
Build the header array.
Return the list of addresses for a header object.
Returns the user agent description header.
Return the full list of headers.
Get the string to use for EOLs.
Returns the flag status.
Get the primary from address (first address in the From: header).
Return the header object from imap_headerinfo().
Return the full list of headers from the imap_fetchheader() function.
Get a header from the header object.
Attempts to return the header in the correct case.
Attempt to return the value for a given header.
The following header fields can only have 1 entry, so if duplicate entries exist, the first value will be used: * To, From, Cc, Bcc, Date, Sender, Reply-to, Message-ID, In-Reply-To, References, Subject (RFC 2822 [3.6]) * All List Headers (RFC 2369 [3])
Returns the list of valid mailing list headers.
Do any mailing list headers exist?
Remove a header from the header array.
Sets a new string to use for EOLs.
Set a value for a particular header ONLY if that header is set.
Transforms a Header value using the list of functions provided.
Returns the internal header array in array format.
Returns the internal header array in string format.
Returns a reference to a currently open IMAP stream.
THIS VALUE SHOULD BE OVERRIDEN BY ALL SUBCLASSES.
Documentation generated on Sun, 30 Jan 2011 05:17:56 +0000 by phpDocumentor 1.4.3