How to get email notification in email composer plugin in phonegap

旧城冷巷雨未停 提交于 2019-12-12 04:38:26

问题


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.

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]);

回答1:


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 .



来源:https://stackoverflow.com/questions/17649204/how-to-get-email-notification-in-email-composer-plugin-in-phonegap

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!