How can i make a <button> that makes a draft in gmail? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

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: exampleemail@gmail.com subject: text you can define Compose email: text you can define

22nd Dec 2016, 3:25 PM
Ammar Naif
Ammar Naif - 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