Page 4 of 4

Re: HOW TO: open the default email client cross-platform

PostPosted: Sat Aug 16, 2014 12:59 am
by david
For us, the email url does work. In case that helps with your debugging process.

Re: HOW TO: open the default email client cross-platform

PostPosted: Fri Aug 22, 2014 7:36 am
by hareendra
Hi,

Well I can't get it to work. However I came across a method that works.
Code: Select all
url = 'mailto:' + sEmail;
   if(utils.stringMiddle(application.getOSName(), 1, 7) == "Windows") {
       application.executeProgram('rundll32.exe', ['url.dll,FileProtocolHandler', url]);
   }
   else {
      application.showURL(url);
   }


Regards,
Hareendra