Return address information from mime headers.
string
getAddress
([boolean $full = true], [boolean $encoded = false], [boolean $unconditionally_quote = FALSE])
-
boolean
$full: return full address (true) or only personal if it exists, otherwise email (false)
-
boolean
$encoded: (since 1.4.0) return rfc2047 encoded address (true) or plain text (false).
-
boolean
$unconditionally_quote: (since 1.4.21/1.5.2) when TRUE, always quote the personal part, whether or not it is encoded, otherwise quoting is only added if the personal part is not encoded
Shorter version of getAddress() function Returns full encoded address.
string
getEncodedAddress
([boolean $unconditionally_quote = FALSE])
-
boolean
$unconditionally_quote: (since 1.4.21) when TRUE, always quote the personal part, whether or not it is encoded, otherwise quoting is only added if the personal part is not encoded