contao/test — Issue #2833: Add a hook to Email class
Author: taca
Created: 2011-11-29 10:23:58+00:00
State: open
Labels: Feature, framework, Pending

I want to write a extension to change charset/encoding of outgoing e-mails. And after reading codes, a hook function is needed in sendTo() in Email class (system/libraries/Email.php).

With hook function, Swift Mailer's parameter could be changed and/or adding new class to Swift Mailer easily.

Attached code is my trial but there might be more improved code.

Anyway, I wish such hook function would be introduced.

Best regards.

[Download the attachments](http://www.contao.org/tl_files/tickets/2833.zip "Download the attachments of this ticket")

--- _Originally created on January 29th, 2011, at 07:15am (ID 2833)_