showing results for - "attach a generated pdf to a smtpjs mail in js"
Marco
23 Sep 2020
1//attach a generated pdf to a smtpjs mail in js   
2
3
4
5	 Email.send({
6     Host: "smtp.gmail.com",
7     Username : "abc@gmail.com",
8     Password : "abc",
9     To : receiver,
10     From : "abc@gmail.com",
11     Subject : emailSubject,
12     Body : emailBody,
13     Attachments : [
14     {
15      name : list.pdf
16      data : pdfBase64 
17
18     }]
19     }).then(
20     )
21     });
22