dongza6247 2011-06-22 11:14
浏览 18

Magento:拦截所有外发电子邮件

I want to create a module that intercepts all outgoing emails and changes the subject.

Is this possible? Is there an event that is dispatched whenever a mail is sent?

If not, how can I override the order email / invoice email address at least?

thanks in advance!

  • 写回答

1条回答 默认 最新

  • drgc9632 2011-06-22 11:34
    关注

    All the emails are sent via 'core/email_template' model, so you may override its method called getTemplateSubject() for such purpose. Unfortunately there are no events dispatched.

    评论

报告相同问题?