Zend_Mail::getFrom PHP Method

getFrom() public method

Returns the sender of the mail
public getFrom ( ) : string
return string
    public function getFrom()
    {
        return $this->_from;
    }

Usage Example

Example #1
0
 public function sendMail(Zend_Mail $mail, $body, $header)
 {
     $this->mail = $mail;
     $this->body = $body;
     $this->header = $header;
     $this->recipients = $mail->getRecipients();
     $this->subject = $mail->getSubject();
     $this->from = $mail->getFrom();
     $this->called = true;
 }
All Usage Examples Of Zend_Mail::getFrom