Reputation: 1447
I would like to implement a button that takes screenshot of a graph on the UI and attach that screenshot to an outlook email. With this the user is able to send that attachment to other users instantly.
This have to be done on single button click.
Any ideas would be highly appreciated.
Upvotes: 0
Views: 1089
Reputation: 49395
As a workaround you may consider taking a screenshot and then uploading it to your web server for further processing and sending emails. Also you can develop a plugin for browsers where you can do whatever you need. However, the end users must install it to be able to do whatever you need.
Upvotes: 0
Reputation: 156978
The best you have in classic javascript is the mailto
protocol. Unfortunately (in this case), it doesn't support HTML bodies or multipart content. That means javascript itself won't help.
There are just a few options left:
Upvotes: 1