0

I'm currently making an app for mobile devices that uses HTML and Javascript. It's the Framework7 library. I have a button on my appscreen that is supposed to bring up the device's mail client.

I want the button to function just like doing mailto: but I don't want it to create a draft. I just want it to go to the mail client.

$$('.email-icon').on('click', function(){
    window.location.href = "mailto:";
});

After they click on the icon with the email-icon class, it should just bring up their default mail client. I don't want it to actual create a new message.

Jordan Little
  • 93
  • 1
  • 6

0 Answers0