code: function(err, data) {
  
              if(!err) {
  
                  me.loggedin = true;
                  fn(err, data);
  
              } else {
  
                  me.loggedin = false;
                  fn({code:SMTPError.AUTHFAILED, message:"authorization failed", smtp:data});
  
              }
          }
docs: }}} {{{ response