Joignez un PDF généré à un courrier SMTPJS dans JS
//attach a generated pdf to a smtpjs mail in js
Email.send({
Host: "smtp.gmail.com",
Username : "[email protected]",
Password : "abc",
To : receiver,
From : "[email protected]",
Subject : emailSubject,
Body : emailBody,
Attachments : [
{
name : list.pdf
data : pdfBase64
}]
}).then(
)
});
Rays