Actions
Bug #100174
closedfelogin: Recovery mail type mismatch
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
felogin
Target version:
-
Start date:
2023-03-15
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
TYPO3\CMS\FrontendLogin\Service\RecoveryService::prepareMail() creates an object of type TYPO3\CMS\Core\Mail\FluidEmail\FluidEmail but returns it as Symfony\Component\Mime\Email. This mistyped mail object is subsequently used in TYPO3\CMS\FrontendLogin\Event\SendRecoveryEmailEvent.
I would like to propose to use only FluidEmail within classes RecoveryService and SendRecoveryEmailEvent to make the code more consistent and avoid problems in code that listens to SendRecoveryEmailEvent to manipulate e.g. the contents of the password recovery email to be sent.
Actions