Issue Bug Closed

#24471Restructure of t3lib_utility_Mail hook subscriber

Jigal van Hemert 01/04/11, 14:48 updated 03/29/11, 23:48

Description

t3lib_utility_Mail used callUserFunc for a hook. This hook was used to reroute all mails from that class to the new Swift Mailer. The result was an ugly class name and pretty messy code.
Ingo Renner supplied a nice interface and modified the hook to allow clean use of that interface.
Changes of issue 16879 are included in this rewrite.
A small fix for quoted display names is included.
Some lengthy pieces of code and repeating code were moved to separate methods.

Maybe t3lib/mail/class.tx_t3lib_mail_hooks.php needs to be renamed to t3lib/mail/class.t3lib_mail_swiftmaileradapter.php before applying the patch.
Furthermore this file had Windows line endings; these have been changed to Unix line endings. Maybe this needs to be done before applying the patch if errors about failing chunks appear
(issue imported from #M16911)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.