Add pdf file attachment to order confirmation email
Posted: Mon Mar 27, 2023 3:35 pm
Hi,
I'd need to attach some pdf files to the order confirmation email upon customers request, I think i need to use get_file() function and add_attachment() function from the email class in system versioned.
It would be nice if someone could help with a simple example how to do this.
Kind regards
Christoph
I'd need to attach some pdf files to the order confirmation email upon customers request, I think i need to use get_file() function and add_attachment() function from the email class in system versioned.
It would be nice if someone could help with a simple example how to do this.
Kind regards
Christoph