Magento Forum

Events available
 
FOOMAN
Guru
 
Avatar
Total Posts:  669
Joined:  2007-12-13
Auckland, New Zealand
 

Starting with version 0.7.1 EmailAttachments dispatches events you can use to hook into before any email is being sent out.

The following events are available
fooman_emailattachments_before_send_order
fooman_emailattachments_before_send_invoice
fooman_emailattachments_before_send_shipment
fooman_emailattachments_before_send_creditmemo

and the dispatch call looks like this

Mage::dispatchEvent('fooman_emailattachments_before_send_order',
                        array(
                            
'update'=> false,
                            
'template' => $mailTemplate,
                            
'object' => $this
                        
)
        );
Please let me know if you need any other info available in the event.
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top