Reputation: 29143
How can I open a gmail compose window (I don't care much which - popup/modal) with content I provide from Javascript? The context is a groceries app written in angular js where I want to add a button that will send the current list via email, but with the ability to edit it first (so not using GAS MailApp) In particular, the groceries list is large and can't be put as a URL parameter.
Upvotes: 0
Views: 3193
Reputation: 4611
you should open window with this link and parameters
Params
to:
su:
body:
bcc:
you can use $window.open with these parameters and provide your text as body
Upvotes: 6