Reputation: 634
cordova.plugins.email.open({
subject: 'Credentials for Joe Lally',
body: emailbody,
isHtml: true
// attachments: cordova.file.externalRootDirectory +
localStorage.getItem("uuid") + ".txt"
},callback,scope);
function callback(result)
{
alert(result);
}
function scope(result)
{
alert(result)
}
}
i want to how can we check whether email has sent or not using cordova,I used in call back function but it every time returning okay.Can anybody help me in checking the status.
Upvotes: 0
Views: 54