I am using a mailto: filled in JavaScript to send information throughout my web application, but everytime a user presses the Send button, it opens a new t
mailto:
Just close the window after a short interval:
var mailto_link = 'mailto:'+email+'?subject='+subject+'&body='+body_message; var win = window.open(mailto_link,'emailWindow'); setTimeout(function() { win.close() }, 500);