source/Core/Email.php
protected function _setSmtpAuthInfo($userName = null, $userPassword = null)
    {
        $this->set("SMTPAuth", true);
        $this->set("Username", $userName);
        $this->set("Password", $userPassword);
    }
protected function _setSmtpAuthInfo($userName = null, $userPassword = null)
    {
        $this->set("SMTPAuth", true);
        $this->set("Username", $userName);
        $this->set("Password", $userPassword);
    }
protected function _setSmtpAuthInfo ( $ userName = null , $ userPassword = null ) { $ this -> set ( "SMTPAuth" , true ) ; $ this -> set ( "Username" , $ userName ) ; $ this -> set ( "Password" , $ userPassword ) ; }
Sets smtp authentification parameters.

@param string                                   $userName     smtp user
@param \OxidEsales\Eshop\Application\Model\Shop $userPassword smtp password
Sets smtp authentification parameters .