public function setup(string $host, string $username, string $password, string $security, bool $use_smtp = true): void
    {
        $this->use_smtp = $use_smtp;
        $this->email_host = $host;
        $this->email_username = $username;
        $this->email_password = $password;
        $this->email_security = $security;
    }
public function setup(string $host, string $username, string $password, string $security, bool $use_smtp = true): void
    {
        $this->use_smtp = $use_smtp;
        $this->email_host = $host;
        $this->email_username = $username;
        $this->email_password = $password;
        $this->email_security = $security;
    }
public function setup ( string $ host , string $ username , string $ password , string $ security , bool $ use_smtp = true ) : void { $ this -> use_smtp = $ use_smtp ; $ this -> email_host = $ host ; $ this -> email_username = $ username ; $ this -> email_password = $ password ; $ this -> email_security = $ security ; }
Use this function when you use it in your own project

@param string $host
@param string $username
@param string $password
@param string $security
@param bool $use_smtp
Use this function when you use it in your own project