Project

General

Profile

Actions

Bug #24471

closed

Restructure of t3lib_utility_Mail hook subscriber

Added by Jigal van Hemert over 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2011-01-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Files

16911.patch (34.5 KB) 16911.patch Administrator Admin, 2011-01-04 14:48

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #24444: Mail created with FORM content element and swift mailer shows empty body in thunderbirdClosedJigal van Hemert2010-12-30

Actions
Actions #1

Updated by Jigal van Hemert over 13 years ago

Committed to trunk rev: 10085

Actions #2

Updated by Susanne Moog about 13 years ago

  • Target version deleted (4.5.0)
Actions

Also available in: Atom PDF