Reputation: 36
I am working on one application which work on Android and IOS. I am using EmailComposer-phonegap-plugin Phonegap EmailComposer plugin to send email.
The application is working fine except for that I am not able to get return values such as 0, 1, 2, 3, or 4. On getting those return values I want to perform other task including email-sent or email-fail.
I have looked at many posts but I cannot find a proper solution.
I am using the Email Composer plugin https://github.com/GalCohen/EmailComposer-phonegap-plugin.
Upvotes: 1
Views: 946
Reputation: 1007321
That will not be possible, at least for Android. The request to send an email via Intent
(as is used by the pluging) is asynchronous, and you do not find out what the user did with the email message in any case.
Upvotes: 1