public function getFromAddress($ident = null) { $val = $this->getValue($this->_prefnames['from_addr'], $ident); if (!strlen($val)) { $val = $this->_user; } return new Horde_Mail_Rfc822_Address($val); }
/** * Retrieve the bare email address of the resource. I.e., addr-spec. * * @return string The mail address. */ public function getMailAddress() { return $this->_identity->getFromAddress()->bare_address; }