public function setAuthentication($username, $password)
    {
        $this->_mailer->Username = $username;
        $this->_mailer->Password = $password;

        return $this;
    }
public function setAuthentication($username, $password)
    {
        $this->_mailer->Username = $username;
        $this->_mailer->Password = $password;

        return $this;
    }
public function setAuthentication ( $ username , $ password ) { $ this -> _mailer -> Username = $ username ; $ this -> _mailer -> Password = $ password ; return $ this ; }
Sets the authentication used to send the mail.

@param string $username
@param string $password

@return \Scara\Mail\Mailer
Sets the authentication used to send the mail .