How can i make a <button> that makes a draft in gmail?

i want to make a button that send an email when you click it Example: you press the button it opens the gmail app and makes a draft: to: [email protected] subject: text you can define Compose email: text you can define

22nd Dec 2016, 3:25 PM
Ammar Nayef
Ammar Nayef - avatar
1 Answer
+ 1
Look up the mailto: option for html links. The other option is to look up google's api or urls for the page requests that occur when you click the new message button in gmail.
23rd Dec 2016, 7:24 AM
Kevin Gilkey-Graham
Kevin Gilkey-Graham - avatar