Generate a PDF from Dynamic Data in Meteor.js
Ryan Swapp
6117

Nice write up, it helps a lot.

But Ryan, i want a situation whereby i can attach the generated PDF to email and send.

I’ll be glad if you can help out.

Thanks!

Meteor.call(‘sendCertificate’,
 ‘emaill address’, 
 ‘emial address’, 
 ‘Hello from Me!’, 
 ‘This is your certificate.’,
 [{ fileName:”Certificate.pdf”,contentType:”application/pdf”, filePath: “[pdfBase64]”}]);