I am currently using xepOnline to generate a pdf of my page.
This is working perfectly , but i now want a button next the download button which opens the mail program on your pc and attaches the generated pdf file.
My code so far: (not much)
function emailCurrentPage(){
window.location.href="mailto:?subject="+document.title+"&body="+escape(window.location.href);
}
<button onClick="javascript:emailCurrentPage()">Doormailen</button>
<button href="#" onclick="return xepOnline.Formatter.Format('content',{render:'download'},{pageWidth:'216mm', pageHeight:'279mm'}, {filename:'Test'});">Opslaan als PDF</button>