Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Is there a (simple) way to attach the invoice as a PDF to the email?
I guess it depends on your definition of simple 😁
You can hook into the email sending pipeline as outlined here https://vendr.net/docs/core/1.8.0/key-concepts/pipelines/ and create your own AttachPdfInvoiceTask task to read the current HTML for the email (which will be passed in a context argument) about to be sent, then use a PDF generation library to generate the PDF and add it to the emails attachement.
You'd then want to register the task just before the email get's sent
Hope this helps
Thanks. I was hoping for even more simpler, but this'll do!
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted