public function from($mail, $name = null)
    {
        $this->mailer->setFrom($mail, $name);
        return $this;
    }
public function from($mail, $name = null)
    {
        $this->mailer->setFrom($mail, $name);
        return $this;
    }
public function from ( $ mail , $ name = null ) { $ this -> mailer -> setFrom ( $ mail , $ name ) ; return $ this ; }
Set the address information sent by mail.

@param string $mail the address of mail
@param string $name the real name of mail sender
@return $this
Set the address information sent by mail .