Software Archive
Read-only legacy content
17060 Discussions

Testing for sendEmail Success

DynamicProgramr
Débutant
1 902 Visites

Is there a way to get a return value or result for the method intel.xdk.device.sendEmail?  I would like to give the app user a chance to send again if the email did not go through the first time.

I'm not trying to find out if it was received, just if the device was able to successfully send.

Thanks!

0 Compliments
1 Solution
Brandon_K_Intel
Employé
1 902 Visites

How are you building your application? If you are using Cordova, you could try a third-party plugin like https://github.com/katzer/cordova-plugin-email-composer to send emails. The device API you referenced is in the process of deprecated.

Voir la solution dans l'envoi d'origine

0 Compliments
2 Réponses
Brandon_K_Intel
Employé
1 903 Visites

How are you building your application? If you are using Cordova, you could try a third-party plugin like https://github.com/katzer/cordova-plugin-email-composer to send emails. The device API you referenced is in the process of deprecated.

0 Compliments
DynamicProgramr
Débutant
1 902 Visites

Thanks Brandon, that gave me what I was looking for!

0 Compliments
Répondre