You’re on the right track:
$( document ).ready( function() {
$('.icon-send-mail').on('click', function(e) {
var mailto_link = 'mailto:' + $(this).attr('id');
var win = window.open(mailto_link, 'emailWindow');
});
});
2
solved Create a function to send mail from a div