Actions
Bug #99944
closedFluidEmail should render the parts only once
Start date:
2023-02-13
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:
Description
FuildEmail renders its content from within multiple getters.
If the content of the e-mail is changed on purpose from outside, the final call to `ensureValidity` when the mail is sent, throws all the e-mail's content away.
Use-case: e-mail content post-processing from within hooks, like PasswordRecoveryService.
Example: https://gitlab.com/reelworx/typo3/t3-mailservice-demo-project/-/blob/main/packages/demo/Classes/MjmlConnector.php#L57
Solution: generate content only once.
Actions