Folks, I have a HTML file which contains a button called “Email this content to me”. Upon pressing this button, I want the complete HTML content of the file to be emailed to me.
Can someone tell me if there is a javascript function to do that. A short example would go a long way 🙂
Thanks in advance
As long as the user has a proper
mailto:handler set up, and the user is willing to actually send the email itself then yes, it is possible:This will cause the default mail handler to be opened with a ready email containing the to:, subject: and body: fields.
All the user has to do is press [send].