{"action":"created","issue":{"url":"https://api.github.com/repos/Telerik-Verified-Plugins/EmailComposer/issues/1","labels_url":"https://api.github.com/repos/Telerik-Verified-Plugins/EmailComposer/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Telerik-Verified-Plugins/EmailComposer/issues/1/comments","events_url":"https://api.github.com/repos/Telerik-Verified-Plugins/EmailComposer/issues/1/events","html_url":"https://github.com/Telerik-Verified-Plugins/EmailComposer/issues/1","id":78040871,"number":1,"title":"No separate callbacks available for Sent, Save Draft or Delete operations","user":{"login":"Mike4o","id":5744817,"avatar_url":"https://avatars.githubusercontent.com/u/5744817?v=3","gravatar_id":"","url":"https://api.github.com/users/Mike4o","html_url":"https://github.com/Mike4o","followers_url":"https://api.github.com/users/Mike4o/followers","following_url":"https://api.github.com/users/Mike4o/following{/other_user}","gists_url":"https://api.github.com/users/Mike4o/gists{/gist_id}","starred_url":"https://api.github.com/users/Mike4o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mike4o/subscriptions","organizations_url":"https://api.github.com/users/Mike4o/orgs","repos_url":"https://api.github.com/users/Mike4o/repos","events_url":"https://api.github.com/users/Mike4o/events{/privacy}","received_events_url":"https://api.github.com/users/Mike4o/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-19T11:04:44Z","updated_at":"2015-05-19T16:12:58Z","closed_at":null,"body":"There is a single call back method available for all the three events (Delete Draft,Save Draft and Send mail), and there is no return code to differentiate these events. However, need is to show different notifications to user based on the completion of each event, i.e. Sent, Save or delete.\r\n\r\nCan you please advise how this can be achieved using this plug-in?\r\n\r\nAdd to the note, there is a phonegap plugin available, which provides this functionality-\r\nhttps://github.com/GalCohen/EmailComposer-phonegap-plugin/blob/master\r\n\r\n\r\nwindow.plugins.emailComposer.showEmailComposerWithCallback(callback,subject,body,toRecipients,ccRecipients,bccRecipients,isHtml,attachments) method has following return code available\r\n\r\n0: email composition cancelled (cancel button pressed and draft not saved)\r\n1: email saved (cancel button pressed but draft saved)\r\n2: email sent\r\n3: send failed\r\n4: email not sent (something wrong happened)\r\n\r\nThanks In Advance"},"comment":{"url":"https://api.github.com/repos/Telerik-Verified-Plugins/EmailComposer/issues/comments/103570590","html_url":"https://github.com/Telerik-Verified-Plugins/EmailComposer/issues/1#issuecomment-103570590","issue_url":"https://api.github.com/repos/Telerik-Verified-Plugins/EmailComposer/issues/1","id":103570590,"user":{"login":"EddyVerbruggen","id":1426370,"avatar_url":"https://avatars.githubusercontent.com/u/1426370?v=3","gravatar_id":"","url":"https://api.github.com/users/EddyVerbruggen","html_url":"https://github.com/EddyVerbruggen","followers_url":"https://api.github.com/users/EddyVerbruggen/followers","following_url":"https://api.github.com/users/EddyVerbruggen/following{/other_user}","gists_url":"https://api.github.com/users/EddyVerbruggen/gists{/gist_id}","starred_url":"https://api.github.com/users/EddyVerbruggen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EddyVerbruggen/subscriptions","organizations_url":"https://api.github.com/users/EddyVerbruggen/orgs","repos_url":"https://api.github.com/users/EddyVerbruggen/repos","events_url":"https://api.github.com/users/EddyVerbruggen/events{/privacy}","received_events_url":"https://api.github.com/users/EddyVerbruggen/received_events","type":"User","site_admin":false},"created_at":"2015-05-19T16:12:58Z","updated_at":"2015-05-19T16:12:58Z","body":"Hi @Mike4o I'd be interested to learn how that fork extracts the correct value for the callback... but I can't access it (it's probably a private repo). Fastest way is probably if you can zip the repo and email it to me.\r\n\r\nThanks,\r\nEddy"}}