Looking to change the 1.9.3.4 email system to allow for adding attachments.
Due to the nature of the attachment (dynamically generated PDF based on a variety of things, from customers/orders/3rd party) I would like to attach the PDF in this function:
queueNewOrderEmail
in this file:
/app/code/local/Mage/Sales/Model/Order.php
The changes to the email system in recent versions make finding info online extremely difficult.
It looks as though I should be creating the Zend attachment function in here:
/app/code/local/Mage/Core/Model/Email/Template.php
However, it looks as though the email queue system will ignore that.
This seems like it should be a quick and easy task, but I'm absolutely stumped at this point.