mail using window.print()?
I think what you want to be doing is generate/get the PDF/HTML of the page, send the HTML/PDF to the back-end and let the back-end (if you're not generating it in the back-end already, which is better if you do this), and send the email from there (you can send the PDF as an attachment, or the HTML as the email body). Whichever you need.
Обсуждают сегодня