Contains and constructs the headers for a MIME document
Located in /Swift/Message/Headers.php (line 19)
Compile the list of headers which have been set and return an ascii string The return value should always be 7-bit ascii and will have been cleaned for header injection If this looks complicated it's probably because it is!! Keeping everything compliant is not easy.
This is RFC 2822 compliant THIS SERIOUSLY NEEDS REFACTORING
Build the list of attributes for appending to the given header This is RFC 2231 & 2047 compliant.
A HUGE thanks to Joaquim Homrighausen for heaps of help, advice and testing to get this working rock solid.
Turn on or off forced header encoding
Get the value at a given header
Get the value for a given attribute on a given header
Get the current charset used
Get the header in it's compliant, encoded form
Get the encoding format used in this document
Get the language used in the headers to $lang (e.g. en-us, en-gb, sv etc)
Get the line ending sequence
Just fetch the array containing the headers
Check if a header has been set or not
Check if a header has a given attribute applied to it
Remove a header from the list
Remove an attribute from a header
Add a header or change an existing header value
Set an attribute in a major header
For example $headers->setAttribute("Content-Type", "format", "flowed")
Set the charset used in the headers
Specify the encoding to use for the headers if characters outside the 7-bit-printable ascii range are found This encoding will never be used if only 7-bit-printable characters are found in the headers.
Possible values are:
Set the language used in the headers to $lang (e.g. en-us, en-gb, sv etc)
Set the line ending character to use
Reset the cache state in these headers
Documentation generated on Tue, 06 Mar 2007 23:32:24 +0000 by phpDocumentor 1.3.1