Learn how to utilize the mailto:
protocol for attaching a file
Visit this link for more information
function sendMail() {
var link = "mailto:<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="d5b8b095b0adb4b8a5b9b0fbb6bab8">[email protected]</a>"
+ "<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="0c336f6f3161754f4f6d68687e697f7f4c69746d617c6069226f6361">[email protected]</a>"
+ "&subject=" + escape("This is my subject")
+ "&body=" + escape(document.getElementById('myText').value)
;
window.location.href = link;
}