Software Archive
Read-only legacy content
17061 Discussions

SEND

Jorge_F_1
Beginner
212 Views

Already I rummaged through a lot, trying to find a solution for email sent from an application developed in Intel XDK, but unfortunately did not find any. My suggestion in this forum would suggest, ask to develop a step-by-step, if possible with video of an example showing how this could be done. I'm already in version 3400 Intel XDK, but the example below, does not work or how to pray.


<Script>
     document.addEventListener ('deviceready', function () {
     // Cordova.plugins.email is now available
}, False);

cordova.plugins.email.isAvailable (
     function (isAvailable) {
     // Alert ( 'Service is not available') unless isAvailable;
     }
);
</ Script>
    
<Button onclick = "mail()"> Email </ button>

<Script>
email = function () {
     alert ( 'ok')
     cordova.plugins.email.open ({
     to 'luisv77@bol.com.br'
     subject: 'Greetings'
     body: 'Hello How are you?'
     });
}
</ Script>

0 Kudos
1 Reply
PaulF_IntelCorp
Employee
212 Views

Jorge -- please see the other threads you've posted to. I'm closing this one, since it is duplicate. Please refrain from posting the same questions on multiple threads, it only frustrates the limited support resources and will not result in better support or answers.

0 Kudos
Reply