- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm from Brazil. Help me. I'm trying to email the Intel XDK and not be working. It does not send, no effect. The version of my Intel XDK 3357.
The cord-email-composer plugin is installed on my project. I am using the Bootstrap framework.
In the first example, I use intel.xdk.device.sendEmail and second, use the cordova.plugins.email.open. WHERE I AM missing?
I've done two code:
First example:
<body>
<input type="button" onclick="enviar3()" value="Exibir Alert" />
</body>
<head>
<script type="text/javascript">
function enviar3()
{
alert("sss");
intel.xdk.device.sendEmail("yyyyy",
"ajjaf77@gmail.com",
"teste", // The subject
true, // Is Html
"", // CCed
"" // BCCed
)};
</script>
Segundo exemplo:
<script>
cordova.plugins.email.open({
to: 'ajjaf77@gmail.com',
cc: 'ajjaf@bol.com.br',
subject: 'Greetings',
body: 'How are you? Nice greetings from Leipzig'
});
</script>
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I am afraid there is no intel XDK plugins for send email. Please refer the cordova-plugin-email-composer and follow the document to program your code. Hope it helps you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here is an example you can access, please notice you have to call "deviceready" event in Cordova application to signal that the plugin is ready to access. And then, check is you have an account through using "cordova.plugins.email.isAvailable" function. After that, you can trigger "email.open" function sending email. Hope it helps you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your response. I am new to Intel XDK. I did not quite understand your explanation. Please and please ask, put example html or javascript "deviceready" and "cordova.plugins.email.isAvailable". Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My friend,
I did as you directed me, but did not send the email. Where am I going wrong? thank you.
<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>
<script type="text/javascript">
cordova.plugins.email.open({
to: 'ajjaf@bol.com.br',
cc: 'ajjaf77@gmail.com',
bcc: ['ajjaf@bol.com.br', 'ajjaf77@gmail.com'],
subject: 'Greetings',
body: 'How are you? Nice greetings from Leipzig'
});
</script>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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, does not work or how to pray.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After suffering a bit I discovered that version 0.8.3 (last) of this katzer cordova-email-composer plugin does not work on android. I achieved success using version 0.8.2, also of katzer. Enter github at https://github.com/katzer/cordova-plugin-email-composer/tree/0.8.2, if it does not install directly in the XDK (or other IDE), download and install it locally.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page