I want to send an email to a user who inputs their email address in the chrome web app. How can I send the email? In chrome web apps the mailto: function does not work.
Asked
Active
Viewed 228 times
2 Answers
0
Based on this SO question. You cant use javascript to send your email. However you can open the user's mail client.
window.open('mailto:test@example.com');
window.open('mailto:test@example.com?subject=subject&body=body');
In chrome web apps the mailto: function does not work because I think it is not configured in the browser settings.
Try to configure it in chrome settings->handlers, or Chrome Settings->Content Settings->Manage Handlers
-
My Chrome App is a kiosk App, I can't have any new windows opening. This is where I am very confused... I just need to send a simple email from my chrome app and I have tried the things listed above and it doesn't seem to work. – user2731213 Mar 16 '16 at 15:09
0
I would have a simple web service that your app connects to (with an XHR) and the server would send the email.

Flame
- 2,166
- 2
- 20
- 40