0

有人请指导我通过 Monaca 的 webintent 插件发送电子邮件

4

2 回答 2

1

使用“template_a”模板发送电子邮件

var username = 'John';
monaca.cloud.Mailer.sendMail("userOidA", "template_a", {"name": username})
  .done
  (
    function()
    { /* What to do after sending an email is success. */ }
  );
于 2015-03-21T09:24:09.650 回答
0

在我的挫败感加剧了我的好奇心之后,我有了一些function test () { window.plugins.webintent.startActivity ( { action: window.plugins.webintent.ACTION_VIEW, url: 'mailto:someone@example.com' }, function () {}, function () {alert ('Failed to open URL via Android Intent');} ); }

于 2015-03-21T10:06:52.160 回答