I want to send an email after submitting a html form without using a server , is this possible?
i tried a javascript solution
function sendMail() {
var link = "mailto:myemail@mail.com"
+ "?cc=myCCaddress@example.com"
+ "&subject=" + escape("This is my subject")
+ "&body=" + escape(document.getElementById('name').value)
;
window.location.href = link;
}
But it did not work , is there a solution please?