有人指导我通过Monaca的webintent插件发送电子邮件
答案 0 :(得分: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. */ }
);
答案 1 :(得分: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');}
);
}