public function from($name, $email)
    {
        $this->from_email = $email;
        $this->from_name = $name;

        return $this;
    }
public function from($name, $email)
    {
        $this->from_email = $email;
        $this->from_name = $name;

        return $this;
    }
public function from ( $ name , $ email ) { $ this -> from_email = $ email ; $ this -> from_name = $ name ; return $ this ; }
Sets the from fields

Usage:
$email->from('name', 'name@test.com');

@access  public
@param string $name the name of the receiver
@param string $email array with the keys email, name
@return  $this
Sets the from fields