Click here to Skip to main content
14,237,408 members
Rate this:
Please Sign up or sign in to vote.
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

Rate this:
Please Sign up or sign in to vote.

Solution 1

Bootstrap is just javascript. You could use the following:

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.
   

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100