' + element.outerHTML + ''; emailWindow.document.write('' + links + ''+ ''+ '' + element.outerHTML + ''); const sendEmail = ()=> { Email.send({ Host : "smtp.utah.edu", To : 'megan.bowler@utah.edu', From : "you@isp.com", Subject : "This is the subject", Body : emailHTML }) } setTimeout(() => { emailWindow.focus(); // sendEmail; }, 250); // return sendEmail; // return `mailto:test.email@utah.edu?subject=${subject}&html-body=${encodeURIComponent(elementToEmail)}`; } HTMLElement.prototype.printMe = printMe; HTMLElement.prototype.emailMe = emailMe;
Go to Top