Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

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