Skip to content Skip to sidebar Skip to footer

How To Send Email Using Mail Composer Plugin In Iphone Using Phone Gap Jquery Mobile

I have implemented an app using jQuery Mobile in PhoneGap (corDova). I have down loded the EmailComposer plugin for sending email. I added EmailCompser.js in my www folder and Emai

Solution 1:

It will not open on click of a link unless you write the cordova code to initiate the plugin, try this:

<script type="text/javascript">
function openMail(){
  var args;
  Cordova.exec(null, null, "EmailComposer", "showEmailComposer", [args]);
}
</script>

<a href="#" onclick="openMail()" data-icon="arrow-r" data-iconpos="left" class="ui-btn-left" >E-MAIL</a>

Post a Comment for "How To Send Email Using Mail Composer Plugin In Iphone Using Phone Gap Jquery Mobile"