I'm trying to create an open mailto javascript function. Basically when a user clicks on the "email" hypertext an outlook email will open up with pre-populated TO field, SUBJECT field, and BODY field. But the next step is to attach a spreadsheet that is saved in a network drive that all users have access too.
This is what i have so far:
I tried adding a var attachment and adding it to my var mailto_link but it didn't work. Any Suggestions?
This is what i have so far:
Code:
function emailForm(){
var email = "example@example.com";
var subject = "<c:out value="${model.name}" />: Domain Change";
var body_message = "test0D%0D%0D%0D";
var mailto_link = 'mailto:'+email+'?subject='+subject+'&body='+body_message;
Comment