$append_addr
$append_addr : boolean
By default, if more than 1 address header is found, the addresses are appended together into a single field. Set this value to false to ignore all but the *last* header.
This class represents address fields (RFC 5322).
sendEncode(array $opts = array()) : array
Returns the encoded string value(s) needed when sending the header text to a RFC compliant mail submission server.
array | $opts | Additional options:
|
An array of string values.
getAddressList(boolean $first = false) : mixed
Return the address list representation(s) for this header.
boolean | $first | If true, return only the first element rather than the entire list. |
A Horde_Mail_Rfc822_List object (if $first is true) or an array of those objects.
doSendEncode(array $alist, array $opts = array())
Do send encoding for addresses.
Needed as a static function because it is used by both single and multiple address headers.
array | $alist | An array of Horde_Mail_Rfc822_List objects. |
array | $opts | Additional options:
|