如何在phonegap中的电子邮件作曲家插件中获取电子邮件通知 [英] How to get email notification in email composer plugin in phonegap

查看:189
本文介绍了如何在phonegap中的电子邮件作曲家插件中获取电子邮件通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用电子邮件作曲家插件在phonegap中处理电子邮件附件。

我插入 .h .m 文件和 .js 文件。
但我没有收到电子邮件发送或失败的通知。

链接到这里: https://github.com/GalCohen/EmailComposer-phonegap-plugin

I am working on email attachment using email composer plugin in phonegap.
I imsert .h .m file and .js file. But i don't get any notification of email sent or fail.
Link here: https://github.com/GalCohen/EmailComposer-phonegap-plugin.

如何获取这些状态

0:电子邮件构成已取消(取消按钮已按下,草稿未保存)

1:电子邮件已保存(取消按钮已按下,但已保存草稿)

2:电子邮件已发送

3:发送失败

4:电子邮件未发送(发生错误)

How to get these status
0: email composition cancelled (cancel button pressed and draft not saved)
1: email saved (cancel button pressed but draft saved)
2: email sent
3: send failed
4: email not sent (something wrong happened)

 window.plugins.emailComposer.showEmailComposerWithCallback(function(result){console.log(result);},"Look at this photo","Take a look at <b>this<b/>:",["example@email.com", "johndoe@email.org"],[],[],true,[PATH,Email_PATH]);


推荐答案

window.plugins.emailComposer.showEmailComposerWithCallback ){console.log(result);},看看这张照片,看看这个:,[example@email.com,johndoe@email.org],[] ,true,[PATH,Email_PATH]);

window.plugins.emailComposer.showEmailComposerWithCallback(function(result){console.log(result);},"Look at this photo","Take a look at this:",["example@email.com", "johndoe@email.org"],[],[],true,[PATH,Email_PATH]);

**function(result){console.log(result);**

这是我的电子邮件的状态。

Here is the status of my email .

这篇关于如何在phonegap中的电子邮件作曲家插件中获取电子邮件通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆