如何在android中使用Parse实现忘记密码?

时间:2015-12-18 12:10:59

标签: android

这是我的代码,但它给了我错误找不到的方法:

Map<String, String> params = new HashMap<>();
params.put("text", "Your password is: "+"12345678");
params.put("subject", "ForgotPassword");
params.put("fromEmail", "ecalculatorapp@gmail.com");
params.put("fromName", "ECalculator Team");
params.put("toEmail", emailAddress);

ParseCloud.callFunctionInBackground("sendMail", params, new FunctionCallback<Object>() {
    @Override
    public void done(Object response, ParseException exc) {
        Log.e("cloud code example", "response: " + response);
    }
});

提前致谢!

1 个答案:

答案 0 :(得分:2)

Data.list