Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi
I make a page with BootStrap and I want shot it in Webview in android !
How I can Sent Email Without Use php or asp on any server side code ?
Plz Help ... :)
Thanks
Posted

1 solution

Bootstrap is just javascript. You could use the following:

JavaScript
function sendMail() {
    var link = "mailto:my@example.com"
             + "?cc=myCCaddress@example.com"
             + "&subject=" + escape("This is my subject")
             + "&body=" + escape(document.getElementById('myText').value)
    ;

    window.location.href = link;
}


This will open mail client on the calling machine with set elements.

If you want to send from your server then you HAVE to have server code. You could access it via AJAX.


If this helps, please take time to accept the solution.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900