Прикрепите сгенерированный PDF к почте SMTPJS в JS
//attach a generated pdf to a smtpjs mail in js
Email.send({
Host: "smtp.gmail.com",
Username : "abc@gmail.com",
Password : "abc",
To : receiver,
From : "abc@gmail.com",
Subject : emailSubject,
Body : emailBody,
Attachments : [
{
name : list.pdf
data : pdfBase64
}]
}).then(
)
});
Rays