public function getDefaultFromAddress($fullname = false) { $ob = new Horde_Mail_Rfc822_Address($this->getFromAddress()); $ob->personal = $fullname ? $this->getValue($this->_prefnames['fullname']) : null; return $ob; }
/** * Retrieve the "From" address for this resource. * * @return string The "From" address. */ public function getFrom() { return (string) $this->_identity->getDefaultFromAddress(true); }