Attach PDF to custom email
-
Hi there,
I was wondering if there’s an option to generate a pdf from a woocommerce order and then attach it to any custom email (not a woocommerce email).
To give a little more context, once a customer has completed an order in our shop, he will receive an email with the invoice attached.
While that is working perfectly, we also need to generate another, different invoice and attach it to a custom email that is send to a different address.In order to do that the content of the invoice (or maybe the template that is used) would need to change according to the email type that is send (or some php variable).
Then it would need to be attached to a custom email ( using wp_mail() ).Is there a way to achieve this programmatically? Does the premium version of your plugin provide this functionality?
Thanks in advance.
- The topic ‘Attach PDF to custom email’ is closed to new replies.